1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * comedi/drivers/amplc_pc236.h
4 * Header for "amplc_pc236", "amplc_pci236" and "amplc_pc236_common".
6 * Copyright (C) 2002-2014 MEV Ltd. <https://www.mev.co.uk/>
8 * COMEDI - Linux Control and Measurement Device Interface
9 * Copyright (C) 2000 David A. Schleef <ds@schleef.org>
12 #ifndef AMPLC_PC236_H_INCLUDED
13 #define AMPLC_PC236_H_INCLUDED
15 #include <linux/types.h>
21 void (*intr_update_cb)(struct comedi_device *dev, bool enable);
22 bool (*intr_chk_clr_cb)(struct comedi_device *dev);
25 struct pc236_private {
26 unsigned long lcr_iobase; /* PLX PCI9052 config registers in PCIBAR1 */
30 int amplc_pc236_common_attach(struct comedi_device *dev, unsigned long iobase,
31 unsigned int irq, unsigned long req_irq_flags);