This driver does not use interruptes. Don't bother parsing the
configuration option from "comedi_config".
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
/*
options[0] - I/O port
- options[1] - irq
options[2] - number of encoder chips installed
*/
struct multiq3_private *devpriv;
int result = 0;
unsigned long iobase;
- unsigned int irq;
struct comedi_subdevice *s;
iobase = it->options[0];
dev->iobase = iobase;
- irq = it->options[1];
- if (irq)
- printk(KERN_WARNING "comedi%d: irq = %u ignored\n",
- dev->minor, irq);
- else
- printk(KERN_WARNING "comedi%d: no irq\n", dev->minor);
-
result = comedi_alloc_subdevices(dev, 5);
if (result)
return result;
{
if (dev->iobase)
release_region(dev->iobase, MULTIQ3_SIZE);
- if (dev->irq)
- free_irq(dev->irq, dev);
}
static struct comedi_driver multiq3_driver = {