]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC if_re.c rev. 1.95 to RELENG_6.
authoryongari <yongari@FreeBSD.org>
Thu, 4 Oct 2007 11:28:25 +0000 (11:28 +0000)
committeryongari <yongari@FreeBSD.org>
Thu, 4 Oct 2007 11:28:25 +0000 (11:28 +0000)
commitf3bf99948c84f4ad2a6f7da4d150663735ba8af6
treeafdc47af11eb147418677985e408795989260f21
parente154741c146e49882169e63b3101e19d8b0a208d
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.
sys/dev/re/if_re.c