]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r223405:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2011 17:18:33 +0000 (17:18 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 29 Jun 2011 17:18:33 +0000 (17:18 +0000)
commitfc1f1720d54b33612940d5a153e863d8747254a9
tree540f8d1d36a030b499fe03ff92c592a2706b53b5
parent09e45bde3c6cf4022d28bf7c55290dafe556f1cc
MFC r223405:
  Remove link state change callback handler.  There is no need to
  register both status change and link state change callbacks.
  Implement checking valid link in state change callback and poll
  active link state in vr_tick().  This allows immediate detection of
  lost link as well as protecting driver from frequent link flips during
  link renegotiation.  taskq implementation was removed because driver
  now needs to poll link state in vr_tick().
  While I'm here do not report current link state if interface is not
  running.

  Tested by: n_hibma

git-svn-id: svn://svn.freebsd.org/base/stable/8@223681 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/vr/if_vr.c
sys/dev/vr/if_vrreg.h