X-Git-Url: http://developer.intra2net.com/git/?a=blobdiff_plain;f=src%2Fftdi.h;h=4132d8a0dd93a7454a5ec3e722608ec9b8cf19cb;hb=802a949e535f479b694ee04d49c071900314ce91;hp=df754e3e5991f577de2f2565906f5912b8ba6acf;hpb=74e8e79d4e311001d0f890cdf0219d84b58bb70a;p=libftdi diff --git a/src/ftdi.h b/src/ftdi.h index df754e3..4132d8a 100644 --- a/src/ftdi.h +++ b/src/ftdi.h @@ -183,6 +183,8 @@ struct ftdi_eeprom /** remote wakeup */ int remote_wakeup; + int is_not_pnp; + /* Suspend on DBUS7 Low */ int suspend_dbus7; @@ -469,8 +471,8 @@ extern "C" int ftdi_set_event_char(struct ftdi_context *ftdi, unsigned char eventch, unsigned char enable); int ftdi_set_error_char(struct ftdi_context *ftdi, unsigned char errorch, unsigned char enable); - /* init and build eeprom from ftdi_eeprom structure */ - void ftdi_eeprom_initdefaults(struct ftdi_context *ftdi, + /* init eeprom for the given FTDI type */ + int ftdi_eeprom_initdefaults(struct ftdi_context *ftdi, char * manufacturer, char *product, char * serial); int ftdi_eeprom_build(struct ftdi_context *ftdi);