git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
9d638da
)
Remove legacy EEPROM fields from FT4232H.
author
Tomasz Wasilczyk
<twasilczyk@google.com>
Wed, 21 Apr 2021 19:42:08 +0000 (12:42 -0700)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Sun, 2 May 2021 07:15:38 +0000 (09:15 +0200)
These are not present when flashed with FT_Prog tool.
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
5ec3e2c
..
2f77ac3
100644
(file)
--- 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++;