mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
bge_tick(): do not touch PHY if link is up. This should solve problem with
extra input errors for some BCM57XX chips. PR: kern/122295
This commit is contained in:
parent
4e1833120f
commit
82b67c0132
1 changed files with 6 additions and 2 deletions
|
|
@ -3387,8 +3387,12 @@ bge_tick(void *xsc)
|
|||
|
||||
if ((sc->bge_flags & BGE_FLAG_TBI) == 0) {
|
||||
mii = device_get_softc(sc->bge_miibus);
|
||||
/* Don't mess with the PHY in IPMI/ASF mode */
|
||||
if (!((sc->bge_asf_mode & ASF_STACKUP) && (sc->bge_link)))
|
||||
/*
|
||||
* Do not touch PHY if we have link up. This could break
|
||||
* IPMI/ASF mode or produce extra input errors
|
||||
* (extra errors was reported for bcm5701 & bcm5704).
|
||||
*/
|
||||
if (!sc->bge_link)
|
||||
mii_tick(mii);
|
||||
} else {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue