// SPDX-License-Identifier: GPL-2.0+ /* * Comedi driver for DAS008 PCMCIA 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]> * * PCMCIA support code for this driver is adapted from the dummy_cs.c * driver of the Linux PCMCIA Card Services package. * * The initial developer of the original code is David A. Hinds * <[email protected]>. Portions created by David A. Hinds * are Copyright (C) 1999 David A. Hinds. All Rights Reserved. */ /* * Driver: das08_cs * Description: DAS-08 PCMCIA boards * Author: Warren Jasper, ds, Frank Hess * Devices: [ComputerBoards] PCM-DAS08 (pcm-das08) * Status: works * * This is the PCMCIA-specific support split off from the * das08 driver. * * Configuration Options: none, uses PCMCIA auto config * * Command support does not exist, but could be added for this board. */ #include <linux/module.h> #include <linux/comedi/comedi_pcmcia.h> #include "das08.h" static const struct das08_board_struct das08_cs_boards[] = …; static int das08_cs_auto_attach(struct comedi_device *dev, unsigned long context) { … } static struct comedi_driver driver_das08_cs = …; static int das08_pcmcia_attach(struct pcmcia_device *link) { … } static const struct pcmcia_device_id das08_cs_id_table[] = …; MODULE_DEVICE_TABLE(pcmcia, das08_cs_id_table); static struct pcmcia_driver das08_cs_driver = …; module_comedi_pcmcia_driver(…); MODULE_AUTHOR(…) …; MODULE_AUTHOR(…) …; MODULE_DESCRIPTION(…) …; MODULE_LICENSE(…) …;