A set bit means load D2XX driver. Revers logic and names
[libftdi] / src / ftdi.h
index 6d6df15..24aec42 100644 (file)
@@ -221,9 +221,11 @@ struct ftdi_eeprom
     /* Special function of FT232R devices (and possibly others as well) */
     /** CBUS pin function. See CBUS_xxx defines. */
     int cbus_function[5];
-    /** Select hight current drive. */
+    /** Select hight current drive on R devices. */
+    int high_current;
+    /** Select hight current drive on A channel (2232C */
     int high_current_a;
-    /** Select hight current drive on B port (2232C). */
+    /** Select hight current drive on B channel (2232C). */
     int high_current_b;
     /** Select inversion of data lines (bitmask). */
     int invert;
@@ -359,12 +361,13 @@ enum ftdi_cbus_func {/* FIXME: Recheck value, especially the last */
 #define IS_SCHMITT 8
 
 /** Driver Type. */
-#define DRIVER_VCP 0x08
+#define DRIVER_D2XX 0x08
 
 #define SUSPEND_DBUS7 0x80
 
 /** High current drive. */
-#define HIGH_CURRENT_DRIVE 0x10
+#define HIGH_CURRENT_DRIVE   0x10
+#define HIGH_CURRENT_DRIVE_R 0x04
 
 /**
     \brief Progress Info for streaming read