]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Restructure tg3_test_loopback
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 19 Aug 2011 13:58:22 +0000 (13:58 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 01:22:46 +0000 (09:22 +0800)
commit2a319343d3251dcf5eb693b4eb4d633fe696f935
tree526b19f0894a26ffa54932766b40df4aa594c52c
parent1f4cb0c4f0969008ddac2d74c411f12acc6c946d
tg3: Restructure tg3_test_loopback

The tg3_test_loopback() function is starting to get more complicated as
more loopback tests are added.  This patch cleans up the code.

(cherry picked from commit 28a4595786a64fb51d41c0bad819256198525e49)
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c