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


Groups > linux.kernel > #1364254

[PATCH 11/13] eeprom: at24: add at24mac series flag

From Bartosz Golaszewski <bgolaszewski@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH 11/13] eeprom: at24: add at24mac series flag
Date 2016-03-24 16:00 +0100
Message-ID <rgeTV-42l-43@gated-at.bofh.it> (permalink)
References <rgeKe-3Y1-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


As part of supporting the at24mac series add a new flag to the at24
platform data. When set, it indicates that this chip exposes the
factory-programmed EUI-48 or EUI-64 address.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 include/linux/platform_data/at24.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/platform_data/at24.h b/include/linux/platform_data/at24.h
index 5bc02fe..fa89605 100644
--- a/include/linux/platform_data/at24.h
+++ b/include/linux/platform_data/at24.h
@@ -48,6 +48,7 @@ struct at24_platform_data {
 #define AT24_FLAG_IRUGO		BIT(5)	/* sysfs-entry will be world-readable */
 #define AT24_FLAG_TAKE8ADDR	BIT(4)	/* take always 8 addresses (24c00) */
 #define AT24_FLAG_SERIAL	BIT(3)	/* factory-programmed serial number */
+#define AT24_FLAG_MAC		BIT(2)	/* factory-programmed mac address */
 
 	void		(*setup)(struct nvmem_device *nvmem, void *context);
 	void		*context;
-- 
2.7.4

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


Thread

[PATCH 00/13] eeprom: support for at24cs and at24mac Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 15:50 +0100
  [PATCH 08/13] eeprom: at24: call read and write routines via function pointers Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
    Re: [PATCH 08/13] eeprom: at24: call read and write routines via  function pointers kbuild test robot <lkp@intel.com> - 2016-03-24 16:20 +0100
  [PATCH 13/13] eeprom: at24: add at24mac chips to the list of supported devices Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 07/13] eeprom: at24: support reading of the serial number Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 01/13] eeprom: at24: remove a reduntant if Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 05/13] eeprom: at24: replace msleep() with usleep_range() Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 12/13] eeprom: at24: add support for at24mac series Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 09/13] eeprom: at24: use at24cs_serial_read() Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 10/13] eeprom: at24: add the at24cs series to the list of supported devices Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100
  [PATCH 11/13] eeprom: at24: add at24mac series flag Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-03-24 16:00 +0100

csiph-web