From: Tomasz Wasilczyk Date: Wed, 21 Apr 2021 19:42:08 +0000 (-0700) Subject: Remove legacy EEPROM fields from FT4232H. X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=231d8d35405dd0423db6cb1950ae77df9f742aa6 Remove legacy EEPROM fields from FT4232H. These are not present when flashed with FT_Prog tool. --- diff --git a/src/ftdi.c b/src/ftdi.c index 5ec3e2c..2f77ac3 100644 --- a/src/ftdi.c +++ b/src/ftdi.c @@ -3113,7 +3113,8 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi) } // Legacy port name and PnP fields for FT2232 and newer chips - if (ftdi->type > TYPE_BM) + // It doesn't appear when written with FT_Prog for FT4232H chip. + if (ftdi->type > TYPE_BM && ftdi->type != TYPE_4232H) { output[i & eeprom_size_mask] = 0x02; /* as seen when written with FTD2XX */ i++;