#include <linux/module.h>
#include <linux/comedi/comedi_pci.h>
#define PCI263_DO_0_7_REG …
#define PCI263_DO_8_15_REG …
static int pci263_do_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci263_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{ … }
static struct comedi_driver amplc_pci263_driver = …;
static const struct pci_device_id pci263_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, pci263_pci_table);
static int amplc_pci263_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static struct pci_driver amplc_pci263_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;