cvs commit: src/sys/dev/mii mii_physubr.c

Oleg Bulyzhin oleg at
Sat Jun 24 06:17:08 UTC 2006

oleg        2006-06-24 06:17:07 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/mii          mii_physubr.c 
  MFC rev.1.24:
  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.
  Revision  Changes    Path  +18 -18    src/sys/dev/mii/mii_physubr.c

More information about the cvs-src mailing list