cvs commit: src/sys/pci if_vr.c

Justin T. Gibbs gibbs at scsiguy.com
Sat Oct 30 21:34:45 PDT 2004


> Shouldn't an API for adding or removing ISR's be responsible for
> handling just such a race condition?

bus_teardown_intr() already has these semantics, but you have
to know to use it and that it should only be called without
locks held since it may sleep waiting for another CPU to
leave your interrupt handler.  The code that was added to this
driver shouldn't be necessary if the ISR is properly deregistered
during suspend, detach, etc.

--
Justin



More information about the cvs-all mailing list