Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2007 18:10:58 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/mii rlphy.c
Message-ID:  <200702111810.l1BIAwkZ035407@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2007-02-11 18:10:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/mii          rlphy.c 
  Log:
  MFC: 1.24, 1.26
  
  - In rlphy_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.
  - In rlphy_status() just use if_dname instead of determining the name
    of the parent NIC via device_get_name(device_get_parent(sc->mii_dev)).
  - 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 and remove commented out code that just can't
    be used with RealTek PHYs.
  
  Revision  Changes    Path
  1.21.2.3  +11 -46    src/sys/dev/mii/rlphy.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702111810.l1BIAwkZ035407>