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

Marius Strobl marius at FreeBSD.org
Mon Nov 27 21:40:36 PST 2006


marius      2006-11-28 00:45:48 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/mii          lxtphy.c 
  Log:
  - Don't set MIIF_NOISOLATE so lxtphy(4) can be used in configurations
    with multiple PHYs. There doesn't seem to be a problem with isolating
    LXT970 per se nor in combination with the NICs they're used with and
    lxtphy(4) was already adding IFM_NONE anyway.
  - Use mii_phy_add_media() instead of mii_add_media() so the latter can
    be eventually retired.
  - Take advantage of mii_phy_setmedia().
  - Fix some whitespace nits.
  
  Obtained from:  NetBSD
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.17      +8 -35     src/sys/dev/mii/lxtphy.c


More information about the cvs-src mailing list