cvs commit: src/sys/dev/mii mii_physubr.c
Oleg Bulyzhin
oleg at FreeBSD.org
Tue May 16 05:26:17 PDT 2006
oleg 2006-05-16 12:26:00 UTC
FreeBSD src repository
Modified files:
sys/dev/mii mii_physubr.c
Log:
1) Fix mii_phy_tick():
Current code does not report link loss correctly - when link goes down,
mii_phy_tick() will notice that with up to mii_anegticks delay.
If link goes up during this delay then link flapping will be unnoticed
by driver.
2) mii_phy_add_media(): initialize sc->mii_anegticks for 10/100 media
3) Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE defines instead of hardcoded values.
Approved by: glebius (mentor)
MFC after: 1 month
Revision Changes Path
1.24 +18 -18 src/sys/dev/mii/mii_physubr.c
More information about the cvs-src
mailing list