unsigned long irq_flags;
int i, data;
int resolution = ((pci9111_board_struct *) dev->board_ptr)->ai_resolution;
- int retval = IRQ_HANDLED;
+ int retval = 1;
async = subdevice->async;
static irqreturn_t interrupt_service_pci1710(int irq, void *d, struct pt_regs *regs)
{
comedi_device *dev = d;
- int retval = IRQ_HANDLED;
+ int retval = 1;
DPRINTK("adv_pci1710 EDBG: BGN: interrupt_service_pci1710(%d,...)\n",irq);
if (!(inw(dev->iobase + PCI171x_STATUS) & Status_IRQ)) // is this interrupt from our board?
{
comedi_device *dev=d;
comedi_subdevice *s=dev->subdevices+1;
- int retval = IRQ_HANDLED;
+ int retval = 1;
if(!pc236_intr_check(dev))
return IRQ_RETVAL(retval);
int status_int;
comedi_device *dev = (comedi_device*) d;
comedi_subdevice *s;
- int retval = IRQ_HANDLED;
+ int retval = 1;
/* Read interrupt status/enable register. */
status_int = inb(devpriv->pci_iobase + PCI230_INT_SCE);
unsigned int num_samples, i;
static const int timeout = 10000;
unsigned long flags;
- int retval = IRQ_HANDLED;
+ int retval = 1;
if(dev->attached == 0)
{
uint32_t plx_bits;
uint8_t dma0_status, dma1_status;
unsigned long flags;
- int retval = IRQ_HANDLED;
+ int retval = 1;
plx_status = readl(priv(dev)->plx9080_iobase + PLX_INTRCS_REG);
status = readw(priv(dev)->main_iobase + HW_STATUS_REG);
int status;
int work = 0;
unsigned int m_status;
- int retval = IRQ_HANDLED;
+ int retval = 1;
status = readb(dev->iobase+Interrupt_And_Window_Status);
flags = readb(dev->iobase+Group_1_Flags);