projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a557282
)
put COMEDI_INPUT, etc. in their own enum.
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 1 Nov 2006 20:55:52 +0000
(20:55 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 1 Nov 2006 20:55:52 +0000
(20:55 +0000)
include/linux/comedi.h
patch
|
blob
|
history
diff --git
a/include/linux/comedi.h
b/include/linux/comedi.h
index ae62b1fdd3b262b586495ecf435dadaf90ff3554..fbc72b05786b3f7ef78155d35c6e3c5ae01f21f4 100644
(file)
--- 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 */