Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1376217
| Path | csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
| Newsgroups | linux.kernel |
| Subject | [RESEND PATCH v2 11/13] eeprom: at24: add at24mac series flag |
| Date | Mon, 11 Apr 2016 21:00:02 +0200 |
| Message-ID | <rmPe2-21s-13@gated-at.bofh.it> (permalink) |
| References | <rmPe2-21s-15@gated-at.bofh.it> |
| X-Original-To | Wolfram Sang <wsa@the-dreams.de>, linux-i2c <linux-i2c@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>, srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7Idsazyp42sIAo7sZuXU9u7rU9GeJ30W3UGspLMihBk=; b=g6Ouxo7tb4Yat7cJgSWjOZPT9NyQuXVXXtGmMIMI0P7suyOx+8v88JPTOFAAKnYvL2 HE0jaeIH2TaBI3xg1c/W4qqx++42wFsiR1Fvcv9dKfGcdEDlDRQiGOLIUelM5IgTwzcz 0xnnEekdr4ApWaF67hIMPu+NAHo6sTjSexGrZZgRi5y5cH1KAttHAaRo7+bhD18OZRf0 yhinuFfi5EXN1F6rghWxRxrMx8Hp7MwcXv2yApPT90g/jVI6mRKZTBXry9pAnMVWY8RM jFilFyRZqiwA+zeaoNSq6qkLGxQdkpIE2yQCTcUmypzUwj2VrrGluSg+EoQuXzK93PPc zFxg== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7Idsazyp42sIAo7sZuXU9u7rU9GeJ30W3UGspLMihBk=; b=MiqA04e9HNOrFZqTuYACZVkFqSa0Qtj38fZSg5FbFn/Lpt1xuyAoYtqwotQCmm+2KB mY0XwAk46tK4HC+N+SNdtxUlTpyXHGWPaGpgKYCe5AY1r2FOR4gfdI41CkPojneWws2y iTCCnOzM1DNtGwrD1+IssDSJkeKQvl6wTcMAqD2TuSE8AUrGXYLV9IB2S2FEqDQ8E+9m qeKYRYc4QuIKHoXLI0JMT8I6THf9CNibn+e+9InkZbOzCp3bFOaY/GS8l6Pp6P3ZjSxj I+BkGTALfS9HTleIG/yisFw0vn+4h1dmHH76WGH7XHMC7n/6n5NUyb0xTIjf5EigAAJf ORJA== |
| X-Gm-Message-State | AD7BkJIFmtlGgz2IHG7eP3K9GROL4GPjoT9oYkk9F341IQhstNhRHckJs4KzgxANTslevwXB |
| X-Received | by 10.98.71.203 with SMTP id p72mr34878698pfi.165.1460401081833; Mon, 11 Apr 2016 11:58:01 -0700 (PDT) |
| X-Mailer | git-send-email 2.1.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 23 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Andrew Lunn <andrew@lunn.ch>, Bartosz Golaszewski <bgolaszewski@baylibre.com> |
| X-Original-Date | Mon, 11 Apr 2016 11:57:27 -0700 |
| X-Original-Message-ID | <1460401049-25459-12-git-send-email-bgolaszewski@baylibre.com> |
| X-Original-References | <1460401049-25459-1-git-send-email-bgolaszewski@baylibre.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1376217 |
Show key headers only | 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 | Next | Find similar | Unroll thread
[RESEND PATCH v2 11/13] eeprom: at24: add at24mac series flag Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-04-11 21:00 +0200
csiph-web