Date: Wed, 20 May 2009 02:18:26 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/age if_age.c if_agereg.h Message-ID: <200905200218.n4K2IdSG053690@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2009-05-20 02:18:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/age if_age.c if_agereg.h Log: SVN rev 192413 on 2009-05-20 02:18:26Z by yongari MFC r190499: o Don't access VPD even if hardware advertised the capability. It seems that some revision of controller hang while accessing the VPD. Because VPD access routine are unused, nuke it. o Let TWSI reload EEPROM if VPD capability is detected. Reloading EEPROM will also set ethernet address so age(4) now reads AGE_PAR0 and AGE_PAR1 register to get ethernet address. This removes a lot of hack and enhance readability a lot. o Double PHY reset timeout as it takes more time to take PHY out of power-saving state. o Explicitly check power-saving state by checking undocumented PHY registers. If link is not up, poke undocumented registers to take PHY out of power-saving state. This is the same way what Linux does. On resume, make sure to wake up PHY. o Don't rely on auto-clearing feature of master reset bit, just wait 1ms and check idle status of MAC. o Add PCI device revision information in bootverbose mode. This should fix occasional controller hang in device attach phase. Reported by: barbara < barbara.xxx1975 at libero DOT it > Tested by: barbara < barbara.xxx1975 at libero DOT it > Revision Changes Path 1.2.2.8 +98 -134 src/sys/dev/age/if_age.c 1.1.2.2 +3 -0 src/sys/dev/age/if_agereg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905200218.n4K2IdSG053690>