Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Dec 2005 19:40:04 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/nve if_nve.c if_nvereg.h
Message-ID:  <200512121940.jBCJe4AO068600@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-12-12 19:40:04 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/nve          if_nve.c if_nvereg.h 
  Log:
  MFC: Sync up with locking changes in HEAD:
  - Add locked variants of nve_start(), nve_init(), and nve_ifmedia_upd().
  - Use callout_* to manage callouts rather than timeout(9).
  - Mark interrupt handler MPSAFE (IFF_NEEDGIANT was already clear).
  - Lock the driver lock in driver entry points such as the interrupt
    handler, if_start, and if_init rather than locking the driver mutex
    in the various work functions called by the binary blob.
  - Use IFQ_DRV_IS_EMPTY() macro rather than doing it by hand.
  - Fix locking in detach.
  - Remove some unused fields from the softc.
  - Don't make the driver lock recursive, it shouldn't be recursively
    acquired anywhere in the driver now.
  - Axe the spin mutex used for the nve_oslock*() routines.  The driver lock
    already provides sufficient synchronization.
  - Don't mess around with IFF_UP when the link state changes.  IFF_UP is
    an administrative flag, not a link status indicator.
  
  Revision  Changes    Path
  1.7.2.7   +111 -102  src/sys/dev/nve/if_nve.c
  1.3.2.1   +3 -8      src/sys/dev/nve/if_nvereg.h



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