{
comedi_subdevice *s;
int iobase = 0;
+#ifdef incomplete
int irq = 0;
+#endif
dev_link_t *link;
/* allocate and initialize dev->private */
link = pcmcia_dev_list; /* XXX hack */
if(!link) return -EIO;
iobase = link->io.BasePort1;
+#ifdef incomplete
irq = link->irq.AssignedIRQ;
+#endif
break;
default:
printk("bug! couldn't determine board type\n");
break;
}
printk("comedi%d: ni_daq_dio24: %s, io 0x%x", dev->minor, thisboard->name, iobase);
+#ifdef incomplete
if(irq)
{
printk(", irq %i", irq);
}
+#endif
printk("\n");
dev->iobase = iobase;
+#ifdef incomplete
/* grab our IRQ */
if(irq < 0)
{
return -EINVAL;
}
dev->irq = irq;
+#endif
dev->board_name = thisboard->name;