cvs commit: src/sys/dev/re if_re.c

Pyun YongHyeon yongari at
Mon Aug 13 19:00:05 PDT 2007

yongari     2007-08-14 02:00:05 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/re           if_re.c 
  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)
  Revision  Changes    Path
  1.95      +22 -0     src/sys/dev/re/if_re.c

More information about the cvs-src mailing list