33 #include "../comedidev.h"
35 #define PCI_DEVICE_ID_PIO1616L 0x8172
40 #define PIO1616L_DI_REG 0x00
41 #define PIO1616L_DO_REG 0x02
47 unsigned int mask = data[0];
48 unsigned int bits = data[1];
77 comedi_set_hw_dev(dev, &pcidev->
dev);
113 struct pci_dev *pcidev = comedi_to_pci_dev(dev);
122 .driver_name =
"contec_pci_dio",
124 .attach_pci = contec_attach_pci,
125 .detach = contec_detach,
145 static struct pci_driver contec_pci_dio_pci_driver = {
146 .name =
"contec_pci_dio",
147 .id_table = contec_pci_dio_pci_table,
148 .probe = contec_pci_dio_pci_probe,