[PATCH 0/6] [SRU] [T/master] armhf: cpsw: read eth mac from control

Paolo Pisati paolo.pisati at canonical.com
Thu May 7 12:56:32 UTC 2015


BugLink: http://bugs.launchpad.net/bugs/1452628

The NIC used in the beaglebone doesn't have a fixed MAC address set, instead you
can pass one using the bootloader, or the driver will generate a random one.

This series adds support to read the MACIDs of the am335x chip and use them as
fallback. These addresses are only used if there are no mac addresses in the
devicetree, for example set by a bootloader.

All the patches are already present in Vivid, and are clean cherry-picks plus
some mechanical change to make them apply.

Proposing for Trusty (i'll follow up with another series for Utopic).

Markus Pargmann (6):
  DT doc: net: cpsw mac-address is optional
  net: cpsw: Add missing return value
  net: cpsw: header, Add missing include
  net: cpsw: Add am33xx MACID readout
  am33xx: define syscon control module device node
  arm: dts: am33xx, Add syscon phandle to cpsw node

 Documentation/devicetree/bindings/net/cpsw.txt |  6 +++-
 arch/arm/boot/dts/am33xx.dtsi                  |  6 ++++
 drivers/net/ethernet/ti/Kconfig                |  2 ++
 drivers/net/ethernet/ti/cpsw.c                 | 43 +++++++++++++++++++++++++-
 drivers/net/ethernet/ti/cpsw.h                 |  1 +
 5 files changed, 56 insertions(+), 2 deletions(-)

-- 
2.1.0





More information about the kernel-team mailing list