Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2005 16:03:16 +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/pci if_pcn.c if_pcnreg.h
Message-ID:  <200508051603.j75G3G3e092221@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-08-05 16:03:16 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_pcn.c if_pcnreg.h 
  Log:
  Fix up the locking in pcn(4) and mark it MPSAFE.
  - Add locked versions of the init() and start() methods.
  - Use callout_*() rather than timeout().
  - Make the driver lock non-recursive.
  - Push down locking in detach() and ioctl().
  - Fix the tick routine to bail if the interface has been stopped and use
    callout_drain() in detach() after the call to stop().
  - Lock the driver lock in the ifmedia handlers.
  
  Tested by:      Ketrien I. Saihr-Kesenchedra ketrien at error404.nls.net
  MFC after:      1 week
  
  Revision  Changes    Path
  1.71      +59 -35    src/sys/pci/if_pcn.c
  1.12      +1 -1      src/sys/pci/if_pcnreg.h



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