From owner-cvs-src@FreeBSD.ORG Mon Nov 5 01:39:25 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78B3416A420; Mon, 5 Nov 2007 01:39:25 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEBE13C4E8; Mon, 5 Nov 2007 01:39:25 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lA51dPsB021576; Mon, 5 Nov 2007 01:39:25 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from yongari@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lA51dPrA021575; Mon, 5 Nov 2007 01:39:25 GMT (envelope-from yongari) Message-Id: <200711050139.lA51dPrA021575@repoman.freebsd.org> From: Pyun YongHyeon Date: Mon, 5 Nov 2007 01:39:25 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/dev/mii rgephy.c rgephyreg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2007 01:39:25 -0000 yongari 2007-11-05 01:39:25 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mii rgephy.c rgephyreg.h Log: 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) 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. Approved by: re (kensmith) Revision Changes Path 1.15.2.2 +87 -27 src/sys/dev/mii/rgephy.c 1.2.10.1 +12 -1 src/sys/dev/mii/rgephyreg.h