fsl_pq_mdio: Revive UCC MDIO support
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 31 Mar 2009 08:33:52 +0000 (08:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 08:28:00 +0000 (01:28 -0700)
commit0ac023faa69e54c0c443da360fa2bf8fbd9e3078
treec602e73a72f49feda998f0f64ffc512466d47cc6
parentda1aa63ec3b4e9b4c5680f06288f57f44caa61b8
fsl_pq_mdio: Revive UCC MDIO support

commit 1577ecef766650a57fceb171acee2b13cbfaf1d3 ("netdev: Merge UCC
and gianfar MDIO bus drivers") introduced a regression so that UCC
MDIO buses no longer work.

This is because fsl_pq_mdio driver wrongly masks all non-TBI PHYs
for !fsl,gianfar-mdio buses, while it should do that only for
fsl,gianfar-tbi buses.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fsl_pq_mdio.c