]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Pull phy int lpbk setup into separate func
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 19 Aug 2011 13:58:21 +0000 (13:58 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 01:22:38 +0000 (09:22 +0800)
commit1f4cb0c4f0969008ddac2d74c411f12acc6c946d
tree3010b5379ccd492a52f3f51383e03501df40c55f
parent43f80ffb0b66e2c9700c407914a358e5563721d5
tg3: Pull phy int lpbk setup into separate func

This patch pulls out the internal phy loopback setup code into a
separate function.  This cleans up the loopback test code and makes it
available for NETIF_F_LOOPBACK support later.

(cherry picked from commit 5e5a7f371ffea4b5aeca60253f912e0b36391495)
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