Date: Thu, 4 Oct 2007 11:28:25 +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/re if_re.c Message-ID: <200710041128.l94BSP5B002667@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2007-10-04 11:28:25 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/re if_re.c
Log:
MFC if_re.c rev. 1.95 to RELENG_6.
Make sure to take PHY out of power down mode in device attach.
Without this the PHY wouldn't work as expected. This should fix
dual-boot Windows XP machine where RealTek Windows drivers put the
PHY in power down mode during shutdown. The magic PHY register
accesses come from RealTek driver. No datasheets mention the magic
PHY registers.
In general, the PHY wakeup code should go into PHY driver. However it
seems that it only apply to RTL8169S single chip and it would be
another hack if we have rgephy(4) check what parent driver/chip model
is attached.
Revision Changes Path
1.46.2.34 +22 -0 src/sys/dev/re/if_re.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710041128.l94BSP5B002667>
