Skip to content

Changes to cpsw and davinci_emac for getting MAC address

Tony Lindgren linux-omap netdev 1 version Applied

Status from this message: Applied to net-next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3net: cpsw: Add a minimal cpsw-common module for shared codedrivers/net/ethernet/ti/Makefile drivers/net/ethernet/ti/cpsw-common.c drivers/net/ethernet/ti/cpsw.c +1 more+60 -330 replies
2/3net: davinci_emac: Get device dm816x MAC address using the cpsw codedrivers/net/ethernet/ti/davinci_emac.c+22 -10 replies
3/3net: davinci_emac: Get device MAC on 3517arch/arm/boot/dts/am3517.dtsi drivers/net/ethernet/ti/davinci_emac.c+35 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Changes to cpsw and davinci_emac for getting MAC address

Hi all,

Here are a few patches to add common code for cpsw and davinci_emac for getting the MAC address. Looks like we can also now add code to get the MAC address on 3517 but in a slightly different way.

Regards,

Tony

Tony Lindgren (3):
net: cpsw: Add a minimal cpsw-common module for shared code
net: davinci_emac: Get device dm816x MAC address using the cpsw code
net: davinci_emac: Get device MAC on 3517

 arch/arm/boot/dts/am3517.dtsi          |  1 +
 drivers/net/ethernet/ti/Makefile       |  3 ++
 drivers/net/ethernet/ti/cpsw-common.c  | 53 ++++++++++++++++++++++++++++++++
 drivers/net/ethernet/ti/cpsw.c         | 35 ++-------------------
 drivers/net/ethernet/ti/cpsw.h         |  2 ++
 drivers/net/ethernet/ti/davinci_emac.c | 56 +++++++++++++++++++++++++++++++++-
 6 files changed, 116 insertions(+), 34 deletions(-)
 create mode 100644 drivers/net/ethernet/ti/cpsw-common.c
Signature · 1 line
2.1.4