Thread (19 messages) 19 messages, 6 authors, 2012-06-28
STALE5127d REVIEWED: 5 (5M)

[RFC PATCH 2/2] OMAP2+: PANDA: Fix up random or missing MAC addresses for eth0 and wlan0

From: arnd@arndb.de (Arnd Bergmann)
Date: 2011-03-25 11:39:53
Also in: linux-omap

On Thursday 24 March 2011, Andy Green wrote:
This patch registers a network device notifier callback to set the mac
addresses for the onboard network assets of Panda correctly, despite the
drivers involved have used a random or all-zeros MAC address.

The technique was suggested by Alan Cox on lkml.

It works by device path so it corrects the MAC addresses even if the
drivers are in modules loaded in an order that changes their interface
name from usual (eg, the onboard module might be "wlan1" if there is a
USB wireless stick plugged in and its module is inserted first.)

Cc: Alan Cox <redacted>
Signed-off-by: Andy Green <redacted>
It looks like this is the best solution so far.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help