Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2007 02:00:05 +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:  <200708140200.l7E205F0043594@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2007-08-14 02:00:05 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/re           if_re.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708140200.l7E205F0043594>