#include <linux/module.h>
#include <linux/delay.h>
#include <linux/comedi/comedi_pci.h>
#define PCI6208_AO_CONTROL(x) …
#define PCI6208_AO_STATUS …
#define PCI6208_AO_STATUS_DATA_SEND …
#define PCI6208_DIO …
#define PCI6208_DIO_DO_MASK …
#define PCI6208_DIO_DO_SHIFT …
#define PCI6208_DIO_DI_MASK …
#define PCI6208_DIO_DI_SHIFT …
static int pci6208_ao_eoc(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned long context)
{ … }
static int pci6208_ao_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci6208_di_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci6208_do_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci6208_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{ … }
static struct comedi_driver adl_pci6208_driver = …;
static int adl_pci6208_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static const struct pci_device_id adl_pci6208_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, adl_pci6208_pci_table);
static struct pci_driver adl_pci6208_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;