Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2011 02:18:45 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/vr if_vr.c if_vrreg.h
Message-ID:  <201106220218.p5M2IsRT087527@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2011-06-22 02:18:45 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/vr           if_vr.c if_vrreg.h 
  Log:
  SVN rev 223405 on 2011-06-22 02:18:45Z by yongari
  
  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
  MFC after:      1 week
  
  Revision  Changes    Path
  1.142     +20 -27    src/sys/dev/vr/if_vr.c
  1.40      +0 -1      src/sys/dev/vr/if_vrreg.h



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