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

Pyun YongHyeon yongari at FreeBSD.org
Sun Nov 4 18:06:27 PST 2007


yongari     2007-11-05 02:06:27 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/mii          rgephy.c rgephyreg.h 
  Log:
  MFC rgephy.c rev 1.17-1.18, rgephyreg.h rev 1.3 to RELENG_6
  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)
    works.
  
    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
    10baseT/100baseTX.
    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.
  
  Revision  Changes    Path
  1.6.2.9   +87 -27    src/sys/dev/mii/rgephy.c
  1.2.2.1   +12 -1     src/sys/dev/mii/rgephyreg.h


More information about the cvs-src mailing list