]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r251481:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Jul 2013 06:58:05 +0000 (06:58 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Jul 2013 06:58:05 +0000 (06:58 +0000)
commit48ba5c0556b2a47fdd643d85cdc16d3ff50ab8cd
treef73d3a54fb399d35c6cf57d69e2ebfa55b0f1c99
parente1174c6b26b776649836d384a6a7462151ab46bc
MFC r251481:
  Do not report current link status if driver is not running.
  Reporting link status in driver has a side-effect that makes mii(4)
  check current link status.  mii(4) will call link status change
  callback when it sees link state change.  Normally this wouldn't
  have problems. However, ASF/IPMI firmware can actively access PHY
  regardless of driver's running state such that reporting link
  status for not-running interface can generate meaningless link
  UP/DOWN messages.

  This change also makes dhclient think driver got a valid link
  regardless of link establishment so it will bypass dhclient's
  initial link status check. I think that wouldn't be issue
  though.

git-svn-id: svn://svn.freebsd.org/base/stable/9@252452 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/bge/if_bge.c