linux/drivers/comedi/drivers/ni_daq_dio24.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Comedi driver for National Instruments PCMCIA DAQ-Card DIO-24
 * Copyright (C) 2002 Daniel Vecino Castel <[email protected]>
 *
 * PCMCIA crap at end of file is adapted from dummy_cs.c 1.31
 * 2001/08/24 12:13:13 from the pcmcia package.
 * The initial developer of the pcmcia dummy_cs.c code is David A. Hinds
 * <[email protected]>.  Portions created by David A. Hinds
 * are Copyright (C) 1999 David A. Hinds.  All Rights Reserved.
 */

/*
 * Driver: ni_daq_dio24
 * Description: National Instruments PCMCIA DAQ-Card DIO-24
 * Author: Daniel Vecino Castel <[email protected]>
 * Devices: [National Instruments] PCMCIA DAQ-Card DIO-24 (ni_daq_dio24)
 * Status: ?
 * Updated: Thu, 07 Nov 2002 21:53:06 -0800
 *
 * This is just a wrapper around the 8255.o driver to properly handle
 * the PCMCIA interface.
 */

#include <linux/module.h>
#include <linux/comedi/comedi_pcmcia.h>
#include <linux/comedi/comedi_8255.h>

static int dio24_auto_attach(struct comedi_device *dev,
			     unsigned long context)
{}

static struct comedi_driver driver_dio24 =;

static int dio24_cs_attach(struct pcmcia_device *link)
{}

static const struct pcmcia_device_id dio24_cs_ids[] =;
MODULE_DEVICE_TABLE(pcmcia, dio24_cs_ids);

static struct pcmcia_driver dio24_cs_driver =;
module_comedi_pcmcia_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();