tg3: use phylib when robo switch is in use
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Sep 2013 21:15:28 +0000 (23:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Oct 2013 19:40:57 +0000 (15:40 -0400)
commitee002b64ec81db846b5518d73fd724a53b27fbf2
tree56cd4a0baba41d8fbc3e3c6b798f0be74fb6bf2b
parent4bcef89f0c6ca1eb4f1a789c2a226f4c02656a4b
tg3: use phylib when robo switch is in use

When a switch is connected as a PHY to the MAC driven by tg3, use
phylib and provide the phy address to tg3 from the sprom.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c