Skip to content

davinci_emac: read the MAC address from nvmem

Bartosz Golaszewski linux-omap lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: ethernet: provide nvmem_get_mac_address()include/linux/etherdevice.h net/ethernet/eth.c+39 -00 replies
2/4net: cadence: switch to using nvmem_get_mac_address()drivers/net/ethernet/cadence/macb_main.c+1 -10 replies
3/4of: net: kill of_get_nvmem_mac_address()drivers/of/of_net.c include/linux/of_net.h+0 -450 replies
4/4net: davinci_emac: use nvmem_get_mac_address()drivers/net/ethernet/ti/davinci_emac.c+9 -50 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchNicolas FerreRob Herring
1/4
2/4A-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [net-next][PATCH 0/4] davinci_emac: read the MAC address from nvmem

From: Bartosz Golaszewski <[email protected]>

This series is part of a bigger series that aims at removing the platform data structure from the at24 EEPROM driver[1].

We provide a generalized version of of_get_nvmem_mac_address(), switch the only user of the of_ variant to using it, remove the previous implementation and use the new routine in the davinci_emac driver.

[1] https://lkml.org/lkml/2018/11/13/884

Bartosz Golaszewski (4):
net: ethernet: provide nvmem_get_mac_address()
net: cadence: switch to using nvmem_get_mac_address()
of: net: kill of_get_nvmem_mac_address()
net: davinci_emac: use nvmem_get_mac_address()

 drivers/net/ethernet/cadence/macb_main.c |  2 +-
 drivers/net/ethernet/ti/davinci_emac.c   | 14 ++++++---
 drivers/of/of_net.c                      | 39 ------------------------
 include/linux/etherdevice.h              |  1 +
 include/linux/of_net.h                   |  6 ----
 net/ethernet/eth.c                       | 38 +++++++++++++++++++++++
 6 files changed, 49 insertions(+), 51 deletions(-)
Signature · 1 line
2.19.1