projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9a1e9
)
added RANGE_mA
author
David Schleef
<ds@schleef.org>
Wed, 11 Apr 2001 03:37:22 +0000
(
03:37
+0000)
committer
David Schleef
<ds@schleef.org>
Wed, 11 Apr 2001 03:37:22 +0000
(
03:37
+0000)
include/linux/comedidev.h
patch
|
blob
|
history
diff --git
a/include/linux/comedidev.h
b/include/linux/comedidev.h
index 09bd76d7b033461589fbe28384aa43eeba71ae7e..f015a7c4dfc2be34f9b431739d79e061dc0f224e 100644
(file)
--- a/
include/linux/comedidev.h
+++ b/
include/linux/comedidev.h
@@
-239,6
+239,7
@@
extern volatile int rtcomedi_lock_semaphore;
#define RANGE(a,b) {(a)*1e6,(b)*1e6,0}
#define RANGE_ext(a,b) {(a)*1e6,(b)*1e6,RF_EXTERNAL}
+#define RANGE_mA(a,b) {(a)*1e6,(b)*1e6,UNIT_mA}
#define RANGE_unitless(a,b) {(a)*1e6,(b)*1e6,0} /* XXX */
#define BIP_RANGE(a) {-(a)*1e6,(a)*1e6,0}
#define UNI_RANGE(a) {0,(a)*1e6,0}