Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1443969

Re: [RESEND PATCH 11/14] eeprom: at24: add the at24cs series to the list of supported devices

From Wolfram Sang <wsa@the-dreams.de>
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 08:40 +0200
Message-ID <rV4WZ-3uz-3@gated-at.bofh.it> (permalink)
References <rGYoq-2vy-7@gated-at.bofh.it> <rGYy5-2yM-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

>  	{ "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?

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


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