summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/pointer-set.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2007-08-14 02:00:04 +0000
committeryongari <yongari@FreeBSD.org>2007-08-14 02:00:04 +0000
commit04d2779b5cbe7185f3e841545ae4cb51bffc5acb (patch)
tree51f3cd4a6679004b7b42c41941b2c33a884e0672 /contrib/gcc/pointer-set.c
parent8d074382c8e722d1563c515d0859fbfe6d6182f6 (diff)
downloadFreeBSD-src-04d2779b5cbe7185f3e841545ae4cb51bffc5acb.zip
FreeBSD-src-04d2779b5cbe7185f3e841545ae4cb51bffc5acb.tar.gz
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. Reported by: lofi, Laurens Timmermans ( laurens AT timkapel DOT nl ) Tested by: lofi Obtained from: RealTek FreeBSD driver Approved by: re (Ken Smith)
Diffstat (limited to 'contrib/gcc/pointer-set.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud