X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=src%2Fftdi.c;h=011f464f8869480e03ce1b3d0f54f938a9780984;hp=8546319070a95ac97c195e84ab0a625ea0cfc22a;hb=e659737ab6228e2da955057637d567c64822825e;hpb=519bbce162c907e93cef6fd372f3224387828034 diff --git a/src/ftdi.c b/src/ftdi.c index 8546319..011f464 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3059,7 +3059,8 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi) case TYPE_230X: output[0x00] = 0x80; /* Actually, leave the default value */ output[0x0a] = 0x08; /* Enable USB Serial Number */ - output[0x0c] = (0x01) | (0x3 << 4); /* DBUS drive 4mA, CBUS drive 16mA */ + /*FIXME: Make DBUS & CBUS Control configurable*/ + output[0x0c] = 0; /* DBUS drive 4mA, CBUS drive 4 mA like factory default */ for (j = 0; j <= 6; j++) { output[0x1a + j] = eeprom->cbus_function[j]; @@ -3122,6 +3123,8 @@ static unsigned char bit2type(unsigned char bits) /** Decode binary EEPROM image into an ftdi_eeprom structure. + For FT-X devices use AN_201 FT-X MTP memory Configuration to decode. + \param ftdi pointer to ftdi_context \param verbose Decode EEPROM on stdout