82 #include "../comedidev.h"
87 #define PCI_VENDOR_ID_COMPUTERBOARDS 0x1307
88 #define PCI_ID_PCIM_DDA06_16 0x0053
93 #define PCIMDDA_DA_CHAN(x) (0x00 + (x) * 2)
94 #define PCIMDDA_8255_BASE_REG 0x0c
96 #define MAX_AO_READBACK_CHANNELS 6
110 unsigned int val = 0;
113 for (i = 0; i < insn->
n; i++) {
125 outb(val & 0x00ff, offset);
126 outb((val >> 8) & 0x00ff, offset + 1);
145 for (i = 0; i < insn->
n; i++) {
162 comedi_set_hw_dev(dev, &pcidev->
dev);
165 ret = alloc_private(dev,
sizeof(*devpriv));
203 struct pci_dev *pcidev = comedi_to_pci_dev(dev);
214 .driver_name =
"cb_pcimdda",
216 .attach_pci = cb_pcimdda_attach_pci,
217 .detach = cb_pcimdda_detach,
237 static struct pci_driver cb_pcimdda_driver_pci_driver = {
238 .name =
"cb_pcimdda",
239 .id_table = cb_pcimdda_pci_table,
240 .probe = cb_pcimdda_pci_probe,
247 "series. Currently only supports PCIM-DDA06-16 (which "
248 "also happens to be the only board in this series. :) ) ");