#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/comedi/comedi_pci.h>
#define PCI8164_AXIS(x) …
#define PCI8164_CMD_MSTS_REG …
#define PCI8164_OTP_SSTS_REG …
#define PCI8164_BUF0_REG …
#define PCI8164_BUF1_REG …
static int adl_pci8164_insn_read(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int adl_pci8164_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int adl_pci8164_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{ … }
static struct comedi_driver adl_pci8164_driver = …;
static int adl_pci8164_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static const struct pci_device_id adl_pci8164_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, adl_pci8164_pci_table);
static struct pci_driver adl_pci8164_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;