According the match logic in function mdio_bus_match generic phy driver matchs nothing. If we want it match anything, We must let it's phy_id_mask be all zeros Signed-off-by: 张忠山 <zzs213@xxxxxxx> --- drivers/net/phy/generic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/phy/generic.c b/drivers/net/phy/generic.c index 3f5f127..c3743b9 100644 --- a/drivers/net/phy/generic.c +++ b/drivers/net/phy/generic.c @@ -25,7 +25,7 @@ static struct phy_driver generic_phy = { .drv.name = "Generic PHY", .phy_id = PHY_ANY_UID, - .phy_id_mask = PHY_ANY_UID, + .phy_id_mask = 0, .features = 0, }; -- 1.7.4.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox