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

Marius Strobl marius at FreeBSD.org
Mon Nov 27 21:38:57 PST 2006


marius      2006-11-28 01:08:45 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/mii          qsphy.c 
  Log:
  - In qsphy_service() for the MII_TICK case don't bother to check whether
    the currently selected media is of type IFM_AUTO as auto-negotiation
    doesn't need to be kicked anyway.
  - Don't set MIIF_NOISOLATE so qsphy(4) can be used in configurations
    with multiple PHYs. There doesn't seem to be a problem with isolating
    QS6612 per se nor in combination with the NICs they're used with.
  - Use mii_phy_add_media() instead of mii_add_media() so the latter can
    be eventually retired.
  - Take advantage of mii_phy_setmedia().
  
  Obtained from:  NetBSD (except for the first item)
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.17      +4 -29     src/sys/dev/mii/qsphy.c


More information about the cvs-src mailing list