[PATCH 0/3] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values

Andy Green andy at warmcat.com
Fri Jun 29 01:55:04 EDT 2012


The following series adds some code to generate legal, locally administered
MAC addresses from OMAP4 CPU Die ID fuse data, and then adds an api to
devices.c allowing board files to register device paths for network devices
that wish to use them.

On PandaBoard / ES, two devices have no board-level MAC either assigned by
the manufacturer or stored on the board, the last patch in the series adds
these device paths and gets them set when the network device is registered.

The patches are against today's linux-omap.

---

Andy Green (3):
      OMAP2+: add cpu id register to MAC address helper
      OMAP2+ devices add mac address allocation register api
      OMAP4 PANDA register ethernet and wlan for automatic mac allocation


 arch/arm/mach-omap2/board-omap4panda.c |   13 +++++
 arch/arm/mach-omap2/common.h           |    2 +
 arch/arm/mach-omap2/devices.c          |   89 ++++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/id.c               |   39 ++++++++++++++
 arch/arm/mach-omap2/include/mach/id.h  |    1 
 5 files changed, 144 insertions(+)

-- 
Signature



More information about the linux-arm-kernel mailing list