Skip to content

net: add support for an offset of a nvmem provided MAC address

Michael Walle linux-devicetree lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: net: add nvmem-mac-address-offset propertyDocumentation/devicetree/bindings/net/ethernet-controller.yaml+6 -05 replies
2/3net: add helper eth_addr_add()include/linux/etherdevice.h+14 -00 replies
3/3net: implement nvmem-mac-address-offset DT propertydrivers/of/of_net.c net/ethernet/eth.c+9 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] net: add support for an offset of a nvmem provided MAC address

Boards with multiple ethernet ports might store their MAC addresses not individually per port but just store one base MAC address. To get the MAC address of a specific network port we have to add an offset.

This series adds a new device tree property "nvmem-mac-address-offset".

Michael Walle (3):
dt-bindings: net: add nvmem-mac-address-offset property
net: add helper eth_addr_add()
net: implement nvmem-mac-address-offset DT property

 .../bindings/net/ethernet-controller.yaml          |  6 ++++++
 drivers/of/of_net.c                                |  4 ++++
 include/linux/etherdevice.h                        | 14 ++++++++++++++
 net/ethernet/eth.c                                 |  5 +++++
 4 files changed, 29 insertions(+)
Signature · 1 line
2.20.1