From 3414767b4e2ba50382fe6363af602a41454e0e91 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 1 Nov 2006 20:55:52 +0000 Subject: [PATCH] put COMEDI_INPUT, etc. in their own enum. --- include/linux/comedi.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/linux/comedi.h b/include/linux/comedi.h index ae62b1fd..fbc72b05 100644 --- a/include/linux/comedi.h +++ b/include/linux/comedi.h @@ -220,9 +220,6 @@ enum configuration_ids INSN_CONFIG_DIO_INPUT = 0, INSN_CONFIG_DIO_OUTPUT = 1, INSN_CONFIG_DIO_OPENDRAIN = 2, - COMEDI_INPUT = INSN_CONFIG_DIO_INPUT, - COMEDI_OUTPUT = INSN_CONFIG_DIO_OUTPUT, - COMEDI_OPENDRAIN = INSN_CONFIG_DIO_OPENDRAIN, INSN_CONFIG_ANALOG_TRIG = 16, // INSN_CONFIG_WAVEFORM = 17, // INSN_CONFIG_TRIG = 18, @@ -253,6 +250,12 @@ enum configuration_ids INSN_CONFIG_GET_ROUTING = 4109, }; +enum comedi_io_direction +{ + COMEDI_INPUT = 0, + COMEDI_OUTPUT = 1, + COMEDI_OPENDRAIN = 2 +}; /* ioctls */ -- 2.26.2