X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.h;h=d42c8c2518263779249d9e749595e0b42061e3a2;hp=24aec42f3ccba81b61b98ae8b2c9afbf35ad4d00;hb=38801bf8af278a43149862ab7a07128f8c4d5aab;hpb=ca41c8ee8dcc93a431fbc0b6746b5ea246d511f9 diff --git a/src/ftdi.h b/src/ftdi.h index 24aec42..d42c8c2 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -182,8 +182,6 @@ struct ftdi_eeprom int self_powered; /** remote wakeup */ int remote_wakeup; - /** release */ - int release; /* Suspend on DBUS7 Low */ int suspend_dbus7; @@ -328,7 +326,7 @@ struct ftdi_device_list enum ftdi_cbus_func {/* FIXME: Recheck value, especially the last */ CBUS_TXDEN = 0, CBUS_PWREN = 1, CBUS_RXLED = 2, CBUS_TXLED = 3, CBUS_TXRXLED = 4, CBUS_SLEEP = 5, CBUS_CLK48 = 6, CBUS_CLK24 = 7, CBUS_CLK12 = 8, CBUS_CLK6 = 9, - CBUS_IOMODE = 10, CBUS_BB_WR = 11, CBUS_BB_RD = 12, CBUS_BB_RXF = 13, CBUS_BB_TXE = 14}; + CBUS_IOMODE = 0xa, CBUS_BB_WR = 0xb, CBUS_BB_RD = 0xc, CBUS_BB = 0xd}; /** Invert TXD# */ #define INVERT_TXD 0x01 @@ -361,7 +359,7 @@ enum ftdi_cbus_func {/* FIXME: Recheck value, especially the last */ #define IS_SCHMITT 8 /** Driver Type. */ -#define DRIVER_D2XX 0x08 +#define DRIVER_VCP 0x08 #define SUSPEND_DBUS7 0x80