cvs commit: src/sys/dev/mii rgephy.c rgephyreg.h

Pyun YongHyeon yongari at
Sun Nov 4 17:39:25 PST 2007

yongari     2007-11-05 01:39:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/mii          rgephy.c rgephyreg.h 
  MFC rgephy.c rev 1.17-1.18, rgephyreg.h rev 1.3 to RELENG_7
  rgephy.c rev 1.17, rgephyreg.h rev 1.3
    Add support for RealTek RTL8211B(L) PHY. It's based on the patch
    made by Michael Eisele and the patch was slightly modified by me.
    With this change several NVIDIA ethernet controllers(e.g. MCP61)
    RTL8211B(L) is RealTek's new gigabit PHY. The PHY has several
    features including crossover correction, polarity correction as
    well as supporting triple speed(10/100/1000bps). Data transfer
    between MAC and PHY is via RGMII for 1000baseT, MII for
    Unfortunately, RealTek used the same model number for RTL8211B(L)
    PHY so there is no way to discriminate between RTL8211B(L) and its
    predecessors. ATM RTL8211B uses revision number 2 so checking the
    revision number seems to be only way to identify it.
  rgephyreg.c rev 1.18
    Setting sc->mii_anegticks to MII_ANEGTICKS_GIGE in rgephy_attach()
    is redundant. mii_phy_add_media() already takes care of that.
  Approved by:    re (kensmith)
  Revision  Changes    Path  +87 -27    src/sys/dev/mii/rgephy.c  +12 -1     src/sys/dev/mii/rgephyreg.h

More information about the cvs-src mailing list