Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 07:39:35 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/age if_age.c if_agereg.h
Message-ID:  <200903280739.n2S7dn1E074085@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-03-28 07:39:35 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/age          if_age.c if_agereg.h 
  Log:
  SVN rev 190499 on 2009-03-28 07:39:35Z by yongari
  
  o Don't access VPD even if hardware advertised the capability.
    It seems that some revision of controller hang while accessing
    the VPD. Because VPD access routine are unused, nuke it.
  o Let TWSI reload EEPROM if VPD capability is detected. Reloading
    EEPROM will also set ethernet address so age(4) now reads AGE_PAR0
    and AGE_PAR1 register to get ethernet address. This removes a lot
    of hack and enhance readability a lot.
  o Double PHY reset timeout as it takes more time to take PHY out of
    power-saving state.
  o Explicitly check power-saving state by checking undocumented PHY
    registers. If link is not up, poke undocumented registers to take
    PHY out of power-saving state. This is the same way what Linux
    does. On resume, make sure to wake up PHY.
  o Don't rely on auto-clearing feature of master reset bit, just wait
    1ms and check idle status of MAC.
  o Add PCI device revision information in bootverbose mode.
  This should fix occasional controller hang in device attach phase.
  
  Reported by:    barbara < barbara.xxx1975 at libero DOT it >
  Tested by:      barbara < barbara.xxx1975 at libero DOT it >
  
  Revision  Changes    Path
  1.8       +98 -134   src/sys/dev/age/if_age.c
  1.2       +3 -0      src/sys/dev/age/if_agereg.h



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