mdio_bus_match() bug

张忠山 zzs213 at 126.com
Fri Dec 7 05:00:33 EST 2012


In drivers/net/phy/mdio_bus.c: mdio_bus_match(), It compare
phy_id between driver and device.

In drivers/net/phy/generic.c set generic phy driver's phy_id
to PHY_ANY_UID

My phy is DM9161E, it's id is 0x181b881.

Of course they won't match! But the generic phy driver indeed
can works with DM9161E

Maybe the match logic should be fixed

-- 
Best Regards,
zzs





More information about the barebox mailing list