Patch from abbotti@mev.co.uk (Ian Abbott):
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 28 Jan 2006 15:31:54 +0000 (15:31 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 28 Jan 2006 15:31:54 +0000 (15:31 +0000)
commit30233475a1c80b315e35122ff4baa1dba2030559
tree1be55d140fbf2cd3f7c720f3cd09b298a7665591
parent44dabdd7e09571c8b74769cd82dcb3a2266b2787
Patch from abbotti@mev.co.uk (Ian Abbott):

Micheal Head reported problems with the PCI230 generating interrupts constantly
in his system.

Looking at the source code, that could happen if the AI interrupt handler
(pci230_handle_ai) detects a FIFO overrun error.  In that case, it ends up
turning the ADC interrupt source back on in the board's INT_SCE by mistake after
cancelling the transfer, resulting in continuous unhandled interrupts.

I have a patch to fix the above and initialize the INT_SCE register before
hooking up the interrupt with request_irq.
comedi/drivers/amplc_pci230.c