cvs commit: src/sys/dev/mii mii_physubr.c miivar.h
    Marius Strobl 
    marius at FreeBSD.org
       
    Sun Feb 11 15:09:50 UTC 2007
    
    
  
marius      2007-02-11 15:09:50 UTC
  FreeBSD src repository
  Modified files:        (Branch: RELENG_6)
    sys/dev/mii          mii_physubr.c miivar.h 
  Log:
  MFC: mii_physubr.c 1.26, miivar.h 1.19
  
  - Add a MIIF_FORCEANEG flag which forces an auto-negotiation to always
    take place if IFM_AUTO is selected. This allows drivers like nsphy(4),
    which need to force writing the ANAR according to the BMSR, to take
    advantage of mii_phy_setmedia(). [1]
  - In mii_phy_reset() once the current media is set don't isolate the PHY
    corresponding to the instance of the currently selected media rather
    than unconditionally not isolating the PHY corresponding to instance 0.
    This saves a isolation-unisolation-cycle of the PHY corresponding to
    the currently selected media for the case were it isn't instance 0.
  - Fix some whitespace nits. [1]
  
  Obtained from:  NetBSD [1]
  
  Revision   Changes    Path
  1.22.2.3   +9 -4      src/sys/dev/mii/mii_physubr.c
  1.15.14.2  +1 -0      src/sys/dev/mii/miivar.h
    
    
More information about the cvs-all
mailing list