- irqreturn_t z8530_interrupt(int irq, void * dev_id);
- Interrupt number
- The Z8530 device that is interrupting.
A Z8530 device has stuck its hand in the air for attention. We scan both the channels on the chip for events and then call the channel specific call backs for each channel that has events. We have to use callback functions because the two channels can be in different modes.
Locking is done for the handlers. Note that locking is done at the chip level (the 5uS delay issue is per chip not per channel). c->lock for both channels points to dev->lock
Alan Cox <[email protected]>