]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2011 17:34:27 +0000 (10:34 -0700)
commit55173ff1e256dad472246f9e73519d4f0b24844c
treeb14078de84b7bb81e4b1627531ea5a31657ce8a7
parent664976fa1f056d26f5c4d0fd433cc56e650fdde6
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.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c