Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 19:10:08 +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_dc.c
Message-ID:  <200508181910.j7IJA8uN059976@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-08-18 19:10:07 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_dc.c 
  Log:
  Fixup locking and mark MPSAFE:
  - Add locked versions of start and init.  The SRM_MEDIA code in dc_init()
    stayed in dc_init() instead of moving to dc_init_locked() to make the
    locking saner.
  - Use callout_init_mtx().
  - Fixup locking in detach and ioctl.
  - Lock the driver in the ifmedia callouts.
  - Don't recurse on the driver lock.
  - De-spl.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.164     +77 -70    src/sys/pci/if_dc.c



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