added RANGE_mA
authorDavid Schleef <ds@schleef.org>
Wed, 11 Apr 2001 03:37:22 +0000 (03:37 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 11 Apr 2001 03:37:22 +0000 (03:37 +0000)
include/linux/comedidev.h

index 09bd76d7b033461589fbe28384aa43eeba71ae7e..f015a7c4dfc2be34f9b431739d79e061dc0f224e 100644 (file)
@@ -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}