Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2011 02:58:09 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/dc if_dc.c
Message-ID:  <201102180258.p1I2wXVj090573@repoman.freebsd.org>

index | next in thread | raw e-mail

yongari     2011-02-18 02:58:09 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           if_dc.c 
  Log:
  SVN rev 218788 on 2011-02-18 02:58:09Z by yongari
  
  Apply special PHY initialization code for 21143 controllers before
  any other media configuration. Otherwise some 21143 controller
  cannot establish a link. While I'm here remove the PHY
  initialization code in dc_setcfg(). Since dc_setcfg() is called
  whenever link state is changed, having the PHY initialization code
  in dc_setcfg() resulted in continuous link flips.
  After driver resets SIA, use default SIA transmit/receive
  configuration instead of disabling autosense/autonegotiation.
  Otherwise, controller fails to establish a link as well as losing
  auto-negotiation capability. For manual media configuration, always
  configure 21143 controller with specified media to ensure media
  change. This change makes ANA-6922 establish link with/without
  auto-negotiation.
  
  While I'm here be more strict on link UP/DOWN detection logic.
  
  Many thanks to marius who fixed several bugs in initial patch and
  even tested the patch on a couple of dc(4) controllers.
  
  PR:             kern/79262
  Reviewed by:    marius
  Tested by:      marius
  
  Revision  Changes    Path
  1.208     +42 -31    src/sys/dev/dc/if_dc.c


help

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