]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita872736a0d3a81963e4778c3c46a4d79346ec963
treec602e73a72f49feda998f0f64ffc512466d47cc6
parent8f6217a105df7876cd99c2bc37938b6d4b7d4415
fsl_pq_mdio: Revive UCC MDIO support

commit f80251083ade5813a2d215e8dc214ebbca8054d8 ("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