Added CMDF_RAWDATA, CMDF_WRITE and COMEDI_MIN_SPEED
authorDavid Schleef <ds@schleef.org>
Sat, 9 Mar 2002 00:09:40 +0000 (00:09 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 9 Mar 2002 00:09:40 +0000 (00:09 +0000)
include/linux/comedi.h

index cb30d86ea3f8222c0bc5c24ccc55482ed6870934..6430aaa7217fcebf78aefbfa63e423d44ef6c11a 100644 (file)
@@ -113,7 +113,7 @@ typedef unsigned short sampl_t;
 //#define TRIG_RT      0x0008          /* perform op in real time */
 #define TRIG_CONFIG    0x0010          /* perform configuration, not triggering */
 //#define TRIG_WAKE_EOS        0x0020          /* wake up on end-of-scan events */
-#define TRIG_WRITE     0x0040          /* write to bidirectional devices */
+//#define TRIG_WRITE   0x0040          /* write to bidirectional devices */
 
 /* command flags */
 /* These flags are used in comedi_cmd structures */
@@ -123,6 +123,11 @@ typedef unsigned short sampl_t;
 #define TRIG_RT                CMDF_PRIORITY /* compatibility definition */
 #define TRIG_WAKE_EOS          0x00000020 /* legacy definition for COMEDI_EV_SCAN_END */
 
+#define CMDF_WRITE             0x00000040
+#define TRIG_WRITE     CMDF_WRITE /* compatibility definition */
+
+#define CMDF_RAWDATA           0x00000080
+
 #define COMEDI_EV_START                0x00040000
 #define COMEDI_EV_SCAN_BEGIN   0x00080000
 #define COMEDI_EV_CONVERT      0x00100000
@@ -379,6 +384,7 @@ struct comedi_bufinfo_struct{
 #define UNIT_mA                        1
 #define UNIT_none              2
 
+#define COMEDI_MIN_SPEED       ((unsigned int)0xffffffff)
 
 /* callback stuff */
 /* only relevant to kernel modules. */