X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Fftdi.h;h=24aec42f3ccba81b61b98ae8b2c9afbf35ad4d00;hb=ca41c8ee8dcc93a431fbc0b6746b5ea246d511f9;hp=ef4674d0e4eca6aa91d00668677623e36e78eb4e;hpb=45619eaa83e12b54afa2b4b4cd67b8293778dcb9;p=libftdi diff --git a/src/ftdi.h b/src/ftdi.h index ef4674d..24aec42 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -197,8 +197,6 @@ struct ftdi_eeprom /** use serial */ int use_serial; - /** fake usb version */ - int change_usb_version; /** usb version */ int usb_version; /** maximum power */ @@ -223,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; @@ -361,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