Date: Mon, 5 Nov 2007 02:06:27 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mii rgephy.c rgephyreg.h Message-ID: <200711050206.lA526Rme024485@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711050206.lA526Rme024485>