From 8092ed57ff38e1fcaf75a7e0bf3b8c4f5372f3d7 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 31 Jan 2004 22:13:09 +0000 Subject: [PATCH] serial dio (SCXI) support from Caleb Tennis --- include/linux/comedi.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/comedi.h b/include/linux/comedi.h index 22c0ef88..52f46278 100644 --- a/include/linux/comedi.h +++ b/include/linux/comedi.h @@ -205,6 +205,7 @@ typedef unsigned short sampl_t; #define COMEDI_SUBD_MEMORY 8 /* memory, EEPROM, DPRAM */ #define COMEDI_SUBD_CALIB 9 /* calibration DACs */ #define COMEDI_SUBD_PROC 10 /* processor, DSP */ +#define COMEDI_SUBD_SERIAL 11 /* serial IO */ /* configuration instructions */ @@ -226,7 +227,10 @@ enum configuration_ids INSN_CONFIG_TIMER_1 = 23, INSN_CONFIG_FILTER = 24, INSN_CONFIG_CHANGE_NOTIFY = 25, + /*ALPHA*/ + INSN_CONFIG_SERIAL_CLOCK = 26, + INSN_CONFIG_BIDIRECTIONAL_DATA = 27, INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR = 1001, // Use CTR as single pulsegenerator INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR = 1002, // Use CTR as pulsetraingenerator INSN_CONFIG_GPCT_QUADRATURE_ENCODER = 1003, // Use the counter as encoder -- 2.26.2