#define TRIG_BOGUS     0x0001  /* do the motions */
 #define TRIG_DITHER    0x0002  /* enable dithering */
 #define TRIG_DEGLITCH  0x0004  /* enable deglitching */
-       /*#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 */
 
 /* command flags */
 /* These flags are used in comedi_cmd structures */
 /* try to use a real-time interrupt while performing command */
 #define CMDF_PRIORITY          0x00000008
 
-#define TRIG_RT                CMDF_PRIORITY   /* compatibility definition */
+/* wake up on end-of-scan events */
+#define CMDF_WAKE_EOS          0x00000020
 
 #define CMDF_WRITE             0x00000040
-#define TRIG_WRITE     CMDF_WRITE      /* compatibility definition */
 
 #define CMDF_RAWDATA           0x00000080
 
 #define TRIG_ROUND_UP          0x00020000
 #define TRIG_ROUND_UP_NEXT     0x00030000
 
+/* compatibility definitions */
+#define TRIG_RT                        CMDF_PRIORITY
+#define TRIG_WAKE_EOS          CMDF_WAKE_EOS
+#define TRIG_WRITE             CMDF_WRITE
+
 /* trigger sources */
 
 #define TRIG_ANY       0xffffffff