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
6ccf660afe
commit
b8698f2968
@ -167,6 +167,7 @@ ukphy_attach(dev)
|
||||
printf("\n");
|
||||
|
||||
MIIBUS_MEDIAINIT(sc->mii_dev);
|
||||
mii_phy_setmedia(sc);
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user