#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/comedi/comedi_pci.h>
#include "ni_labpc.h"
enum labpc_pci_boardid { … };
static const struct labpc_boardinfo labpc_pci_boards[] = …;
#define MITE_IODWBSR …
#define WENAB …
static int labpc_pci_mite_init(struct pci_dev *pcidev)
{ … }
static int labpc_pci_auto_attach(struct comedi_device *dev,
unsigned long context)
{ … }
static void labpc_pci_detach(struct comedi_device *dev)
{ … }
static struct comedi_driver labpc_pci_comedi_driver = …;
static const struct pci_device_id labpc_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, labpc_pci_table);
static int labpc_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static struct pci_driver labpc_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;