
14 Jul
2012
14 Jul
'12
12:22 a.m.
Scott Wood wrote:
I know the spec wouldn't change, except the version number. But as I said above, there would be no known v2 implementations with the bug. You would only check the bad CRC location if you see v1 data, because there are known buggy v1 implementations.
I already have that:
if ((e.version == NXID_VERSION) && (crc != be32_to_cpup(crcp))) {
NXID_VERSION is equal to 1, so we only do the check for the old CRC if we have a v1 EEPROM.
--
Timur Tabi
Linux kernel developer at Freescale