HomeFreeBSD

MFC rgephy.c rev 1.17-1.18, rgephyreg.h rev 1.3 to RELENG_6
rS173353Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
yongariAuthored on
Parents
rS173352: MFC rgephy.c rev 1.16 to RELENG_6
Branches
Unknown
Tags
Unknown

Event Timeline