TSEC driver: Change MDIO support to allow access to any PHYs on the MDIO bus
authormichael.firth@bt.com <michael.firth@bt.com>
Wed, 16 Jan 2008 11:40:51 +0000 (11:40 +0000)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 16 Jan 2008 21:51:35 +0000 (16:51 -0500)
commit55fe7c57a8b99a130925052dcdbb77f053dc50e3
treea61d181365c2ba75b908f1a40322618db932d50a
parent2465665b73ac2f688af945b1ed510752afa816a4
TSEC driver: Change MDIO support to allow access to any PHYs on the MDIO bus

The current TSEC driver limits MDIO access to the devices that have been configured as attached
to a TSEC MAC. This patch allows access to any PHY device on the MDIO bus through the 'mii' commands.

Signed-off-by: Michael Firth <michael.firth@bt.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
drivers/net/tsec.c