#include <linux/module.h>
#include <linux/comedi/comedi_pci.h>
#include "plx9052.h"
#define PCI7X3X_DIO_REG …
#define PCI743X_DIO_REG …
#define ADL_PT_CLRIRQ …
#define LINTI1_EN_ACT_IDI0 …
#define LINTI2_EN_ACT_IDI1 …
#define EN_PCI_LINT2H_LINT1H …
enum adl_pci7x3x_boardid { … };
struct adl_pci7x3x_boardinfo { … };
static const struct adl_pci7x3x_boardinfo adl_pci7x3x_boards[] = …;
struct adl_pci7x3x_dev_private_data { … };
struct adl_pci7x3x_sd_private_data { … };
static void process_irq(struct comedi_device *dev, unsigned int subdev,
unsigned short intcsr)
{ … }
static irqreturn_t adl_pci7x3x_interrupt(int irq, void *p_device)
{ … }
static int adl_pci7x3x_asy_cmdtest(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_cmd *cmd)
{ … }
static int adl_pci7x3x_asy_cmd(struct comedi_device *dev,
struct comedi_subdevice *s)
{ … }
static int adl_pci7x3x_asy_cancel(struct comedi_device *dev,
struct comedi_subdevice *s)
{ … }
static int adl_pci7x3x_dirq_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int adl_pci7x3x_do_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int adl_pci7x3x_di_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int adl_pci7x3x_reset(struct comedi_device *dev)
{ … }
static int adl_pci7x3x_auto_attach(struct comedi_device *dev,
unsigned long context)
{ … }
static void adl_pci7x3x_detach(struct comedi_device *dev)
{ … }
static struct comedi_driver adl_pci7x3x_driver = …;
static int adl_pci7x3x_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static const struct pci_device_id adl_pci7x3x_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, adl_pci7x3x_pci_table);
static struct pci_driver adl_pci7x3x_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;