Make sure set the media type in the phy, we cannot trust it to have chosen
the type we happen to want. Bug triggered by net-booting soekris hardware which comes up in 10/hdx mode by default.
This commit is contained in:
parent
1d9c86b948
commit
135bd3f8a1
@ -167,6 +167,7 @@ ukphy_attach(dev)
|
||||
printf("\n");
|
||||
|
||||
MIIBUS_MEDIAINIT(sc->mii_dev);
|
||||
mii_phy_setmedia(sc);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user