struct dio24_private *devpriv;
struct comedi_subdevice *s;
unsigned long iobase = 0;
-#ifdef incomplete
- unsigned int irq = 0;
-#endif
struct pcmcia_device *link;
int ret;
if (!link)
return -EIO;
iobase = link->resource[0]->start;
-#ifdef incomplete
- irq = link->irq;
-#endif
break;
default:
pr_err("bug! couldn't determine board type\n");
}
pr_debug("comedi%d: ni_daq_dio24: %s, io 0x%lx", dev->minor,
thisboard->name, iobase);
-#ifdef incomplete
- if (irq)
- pr_debug("irq %u\n", irq);
-#endif
if (iobase == 0) {
pr_err("io base address is zero!\n");
dev->iobase = iobase;
-#ifdef incomplete
- /* grab our IRQ */
- dev->irq = irq;
-#endif
-
dev->board_name = thisboard->name;
ret = comedi_alloc_subdevices(dev, 1);