Date: Thu, 22 Mar 2007 04:05:18 +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 e1000phy.c Message-ID: <200703220405.l2M45ICp010411@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2007-03-22 04:05:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/mii e1000phy.c Log: MFC e1000phy.c rev. 1.17, 1.18 to RELENG_6 rev. 1.17 o style(9) fixes rev. 1.18 o Add support code for newer Marvell PHYs. o Remove unused static global variable e1000phy_debug. o Take advantage of mii_phy_dev_probe(). o Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE instead of magic number 5. o Add IFM_NONE as e1000phy(4) supports it without issues. o Nuke magic PHY programming sequence in PHY reset and follow correct reset sequence. [1] o Make manual media selection work for all supported media types. o Don't set MIIF_NOISOLATE so e1000phy(4) can be used in configurations with multiple PHYs. o In 1000baseT, when setting the link manually, one side must be the master and the other the slave. If LINK0 is set, program the PHY to be a master, otherwise it's a slave. o When we lost a link, reset mii_ticks immediately so it correctly check number of seconds elapsed in autonegotiation phase. o Announce link loss right after it happens. o After kicking autonegotiation, report PHY status instead of returning immediatly. o When link state check is in progress, check auto negotiation completion bit only when auto negotiation is enbaled. o When PHY is resolved to a master, show it with IFM_FLAG2. Revision Changes Path 1.14.2.2 +216 -131 src/sys/dev/mii/e1000phy.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703220405.l2M45ICp010411>