1
2
3
4
5
6
7
8
9
10
11
12 #ifndef AMPLC_PC236_H_INCLUDED
13 #define AMPLC_PC236_H_INCLUDED
14
15 #include <linux/types.h>
16
17 struct comedi_device;
18
19 struct pc236_board {
20 const char *name;
21 void (*intr_update_cb)(struct comedi_device *dev, bool enable);
22 bool (*intr_chk_clr_cb)(struct comedi_device *dev);
23 };
24
25 struct pc236_private {
26 unsigned long lcr_iobase;
27 bool enable_irq;
28 };
29
30 int amplc_pc236_common_attach(struct comedi_device *dev, unsigned long iobase,
31 unsigned int irq, unsigned long req_irq_flags);
32
33 #endif