freebsd-dev/sys/dev/fdc
John Baldwin 9fc9d84b9b - Use callout_init_mtx() to initialize toffhandle callout using the fdc's
mutex.
- Don't use callout_drain() to stop the toffhandle callout while holding the
  fdc mutex (this could deadlock) in functions called from softclock
  (callouts aren't allowed to do voluntary sleeps).  Instead, use
  callout_stop().  Note that since we hold the associated mutex and are now
  using callout_init_mtx(), callout_stop() is just as effective as
  callout_drain().  (Though callout_drain() is still needed in detach to
  make sure softclock isn't contesting on our mutex before we destroy the
  mutex.)
- Remove unused callout 'tohandle' from softc.

MFC after:	1 week
2006-02-23 19:11:16 +00:00
..
fdc_acpi.c Remove unused variable. 2006-02-21 03:19:24 +00:00
fdc_isa.c If we fail a sanity check for the resources just allocated, make sure 2005-03-15 08:02:47 +00:00
fdc_pccard.c Eliminate unused argument in PCMCIA_CARD macro. 2005-06-24 14:36:54 +00:00
fdc.c - Use callout_init_mtx() to initialize toffhandle callout using the fdc's 2006-02-23 19:11:16 +00:00
fdcvar.h MFp4: overhaul of resource allocation 2005-01-19 07:46:38 +00:00