freebsd-nq/sys/dev/puc
Marcel Moolenaar 57467e5933 Fix interrupt handling. It started off broken and grew worse over time.
The rewrite of the interrupt handler includes:
o   loop until all pending interrupts are handled. This closes a
    race condition.
o   count the number of interrupt sources we handled so that we can
    properly return FILTER_HANDLED or FILTER_STRAY when we break out
    of the loop.
o   When matching the interrupt source to the devices that have that
    source pending, check only from the set of devices we found to
    have a pending interrupt.

PR:		kern/140947
MFC after:	3 days
2009-12-11 03:08:07 +00:00
..
puc_bfe.h
puc_bus.h
puc_cfg.c
puc_cfg.h
puc_pccard.c
puc_pci.c
puc.c
pucdata.c