mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
MFC r200693:
Make sure to enable Next Page bit for IP1001. Otherwise the PHY fails to re-establishe 1000baseT link after downgrading to 10/100Mbps link.
This commit is contained in:
parent
18c3b93957
commit
b7cf4e03b6
1 changed files with 3 additions and 1 deletions
|
|
@ -398,8 +398,10 @@ ip1000phy_mii_phy_auto(struct mii_softc *sc)
|
|||
|
||||
isc = (struct ip1000phy_softc *)sc;
|
||||
reg = 0;
|
||||
if (isc->model == MII_MODEL_ICPLUS_IP1001)
|
||||
if (isc->model == MII_MODEL_ICPLUS_IP1001) {
|
||||
reg = PHY_READ(sc, IP1000PHY_MII_ANAR);
|
||||
reg |= IP1000PHY_ANAR_NP;
|
||||
}
|
||||
reg |= IP1000PHY_ANAR_10T | IP1000PHY_ANAR_10T_FDX |
|
||||
IP1000PHY_ANAR_100TX | IP1000PHY_ANAR_100TX_FDX |
|
||||
IP1000PHY_ANAR_PAUSE | IP1000PHY_ANAR_APAUSE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue