mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Some fiber PHY(88E1112) does not seem to set resolved speed so
always assume we've got IFM_1000_SX.
This commit is contained in:
parent
885b405380
commit
1a01dae1b9
1 changed files with 5 additions and 2 deletions
|
|
@ -485,8 +485,11 @@ e1000phy_status(struct mii_softc *sc)
|
|||
return;
|
||||
}
|
||||
} else {
|
||||
if (ssr & E1000_SSR_1000MBS)
|
||||
mii->mii_media_active |= IFM_1000_SX;
|
||||
/*
|
||||
* Some fiber PHY(88E1112) does not seem to set resolved
|
||||
* speed so always assume we've got IFM_1000_SX.
|
||||
*/
|
||||
mii->mii_media_active |= IFM_1000_SX;
|
||||
}
|
||||
|
||||
if (ssr & E1000_SSR_DUPLEX)
|
||||
|
|
|
|||
Loading…
Reference in a new issue