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)
commit5e5a7f371ffea4b5aeca60253f912e0b36391495
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