#include <linux/module.h>
#include <linux/comedi/comedi_pci.h>
#define PCI1724_DAC_CTRL_REG …
#define PCI1724_DAC_CTRL_GX(x) …
#define PCI1724_DAC_CTRL_CX(x) …
#define PCI1724_DAC_CTRL_MODE(x) …
#define PCI1724_DAC_CTRL_MODE_GAIN …
#define PCI1724_DAC_CTRL_MODE_OFFSET …
#define PCI1724_DAC_CTRL_MODE_NORMAL …
#define PCI1724_DAC_CTRL_MODE_MASK …
#define PCI1724_DAC_CTRL_DATA(x) …
#define PCI1724_SYNC_CTRL_REG …
#define PCI1724_SYNC_CTRL_DACSTAT …
#define PCI1724_SYNC_CTRL_SYN …
#define PCI1724_EEPROM_CTRL_REG …
#define PCI1724_SYNC_TRIG_REG …
#define PCI1724_BOARD_ID_REG …
#define PCI1724_BOARD_ID_MASK …
static const struct comedi_lrange adv_pci1724_ao_ranges = …;
static int adv_pci1724_dac_idle(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned long context)
{ … }
static int adv_pci1724_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int adv_pci1724_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{ … }
static struct comedi_driver adv_pci1724_driver = …;
static int adv_pci1724_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static const struct pci_device_id adv_pci1724_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, adv_pci1724_pci_table);
static struct pci_driver adv_pci1724_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;