cvs commit: src/sys/pci if_dc.c

John Baldwin jhb at
Thu Aug 18 19:10:08 GMT 2005

jhb         2005-08-18 19:10:07 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_dc.c 
  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

More information about the cvs-src mailing list