2016-07-15 8:30 GMT+02:00 Wolfram Sang <wsa@xxxxxxxxxxxxx>: > >> { "24c01", AT24_DEVICE_MAGIC(1024 / 8, 0) }, >> + { "24cs01", AT24_DEVICE_MAGIC(128 / 8, > > I encoded the size for EEPROMs with "x / 8" originally to make it > visible where the EEPROM name came from, i.e. that is from kilobits not > kilobytes. So, for the serial number I would simply encode the size as > 16 and not as (128 / 8), because it has nothing to do with the name. I > can fix this locally if you are okay with the idea? > Sure, thanks! Bart -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html