tg3: Pull phy int lpbk setup into separate func
commit5e5a7f371ffea4b5aeca60253f912e0b36391495
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 19 Aug 2011 13:58:21 +0000 (19 13:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Aug 2011 17:34:27 +0000 (20 10:34 -0700)
treeb14078de84b7bb81e4b1627531ea5a31657ce8a7
parent6e01b20b21d6b2131f27a7c068ff71a7fbe58796
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