mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* mdio_bus_match() bug
@ 2012-12-07 10:00 张忠山
  0 siblings, 0 replies; only message in thread
From: 张忠山 @ 2012-12-07 10:00 UTC (permalink / raw)
  To: barebox

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



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-07 10:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-07 10:00 mdio_bus_match() bug 张忠山

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox