Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1444077
| From | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RESEND PATCH 11/14] eeprom: at24: add the at24cs series to the list of supported devices |
| Date | 2016-07-15 11:00 +0200 |
| Message-ID | <rV78t-4JM-17@gated-at.bofh.it> (permalink) |
| References | <rGYoq-2vy-7@gated-at.bofh.it> <rGYy5-2yM-3@gated-at.bofh.it> <rV4WZ-3uz-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2016-07-15 8:30 GMT+02:00 Wolfram Sang <wsa@the-dreams.de>:
>
>> { "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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [RESEND PATCH 11/14] eeprom: at24: add the at24cs series to the list of supported devices Wolfram Sang <wsa@the-dreams.de> - 2016-07-15 08:40 +0200 Re: [RESEND PATCH 11/14] eeprom: at24: add the at24cs series to the list of supported devices Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-07-15 11:00 +0200
csiph-web