All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4 0/4] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values
@ 2012-07-05  2:44 ` Andy Green
  0 siblings, 0 replies; 29+ messages in thread
From: Andy Green @ 2012-07-05  2:44 UTC (permalink / raw)
  To: linux-omap
  Cc: s-jan, arnd, patches, tony, netdev, linux-kernel, rostedt,
	linux-arm-kernel

The following series adds some code to generate legal, locally administered
MAC addresses from OMAP4 CPU Die ID fuse data, and then adds a helper at
net/ethernet taking care of accepting device path / MAC mapping registrations
and running a notifier to enforce the requested MAC when the matching network
device turns up.

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.

Lastly for convenient testing, there's a little patch on omap2plus_defconfig
that will get Ethernet and WLAN up on Pandaboard.

The patches are against today's linux-omap.

Thanks to Tony Lindgren and Arnd Bergmann for comments leading to the
helper in net/ethernet.

---

Andy Green (4):
      OMAP: add cpu id register to MAC address helper
      NET ethernet introduce mac_platform helper
      OMAP4 PANDA register ethernet and wlan for automatic mac allocation
      config test config extending omap2plus with wl12xx etc


 arch/arm/configs/omap2plus_defconfig   |   35 +++----
 arch/arm/mach-omap2/Kconfig            |    1 
 arch/arm/mach-omap2/board-omap4panda.c |   30 ++++++
 arch/arm/mach-omap2/id.c               |   39 ++++++++
 arch/arm/mach-omap2/include/mach/id.h  |    1 
 include/net/mac-platform.h             |   39 ++++++++
 net/Kconfig                            |    5 +
 net/ethernet/Makefile                  |    3 +
 net/ethernet/mac-platform.c            |  151 ++++++++++++++++++++++++++++++++
 9 files changed, 282 insertions(+), 22 deletions(-)
 create mode 100644 include/net/mac-platform.h
 create mode 100644 net/ethernet/mac-platform.c


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2012-07-27  7:33 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05  2:44 [PATCH 4 0/4] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values Andy Green
2012-07-05  2:44 ` Andy Green
2012-07-05  2:44 ` [PATCH 4 1/4] OMAP: add cpu id register to MAC address helper Andy Green
2012-07-05  2:44   ` Andy Green
2012-07-05  2:44 ` [PATCH 4 2/4] NET ethernet introduce mac_platform helper Andy Green
2012-07-05  2:44   ` Andy Green
2012-07-05  3:12   ` Joe Perches
2012-07-05  3:12     ` Joe Perches
2012-07-05  3:20     ` Andy Green
2012-07-05  3:20       ` Andy Green
2012-07-05  3:25       ` Joe Perches
2012-07-05  3:25         ` Joe Perches
2012-07-06 22:40   ` Ben Hutchings
2012-07-06 22:40     ` Ben Hutchings
2012-07-06 22:40     ` Ben Hutchings
2012-07-05  2:44 ` [PATCH 4 3/4] OMAP4 PANDA register ethernet and wlan for automatic mac allocation Andy Green
2012-07-05  2:44   ` Andy Green
2012-07-05  2:45 ` [PATCH 4 4/4] config test config extending omap2plus with wl12xx etc Andy Green
2012-07-05  2:45   ` Andy Green
2012-07-10 12:37 ` [PATCH 4 0/4] Add ability to set defaultless network device MAC addresses to deterministic computed locally administered values Florian Fainelli
2012-07-10 12:37   ` Florian Fainelli
2012-07-10 12:58   ` "Andy Green (林安廸)"
2012-07-10 12:58     ` "Andy Green (林安廸)"
2012-07-10 13:08     ` Steven Rostedt
2012-07-10 13:08       ` Steven Rostedt
2012-07-10 15:20     ` Alan Cox
2012-07-10 15:20       ` Alan Cox
2012-07-27  7:26     ` arm interrupt handling Qipeng Zha
2012-07-27  7:26       ` Qipeng Zha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.