// SPDX-License-Identifier: GPL-2.0+ /* * das08_pci.c * comedi driver for DAS08 PCI boards * * COMEDI - Linux Control and Measurement Device Interface * Copyright (C) 2000 David A. Schleef <[email protected]> * Copyright (C) 2001,2002,2003 Frank Mori Hess <[email protected]> * Copyright (C) 2004 Salvador E. Tropea <[email protected]> <[email protected]> */ /* * Driver: das08_pci * Description: DAS-08 PCI compatible boards * Devices: [ComputerBoards] PCI-DAS08 (pci-das08) * Author: Warren Jasper, ds, Frank Hess * Updated: Fri, 31 Aug 2012 19:19:06 +0100 * Status: works * * This is the PCI-specific support split off from the das08 driver. * * Configuration Options: not applicable, uses PCI auto config */ #include <linux/module.h> #include <linux/comedi/comedi_pci.h> #include "das08.h" static const struct das08_board_struct das08_pci_boards[] = …; static int das08_pci_auto_attach(struct comedi_device *dev, unsigned long context_unused) { … } static struct comedi_driver das08_pci_comedi_driver = …; static int das08_pci_probe(struct pci_dev *dev, const struct pci_device_id *id) { … } static const struct pci_device_id das08_pci_table[] = …; MODULE_DEVICE_TABLE(pci, das08_pci_table); static struct pci_driver das08_pci_driver = …; module_comedi_pci_driver(…); MODULE_AUTHOR(…) …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …;