Hello Andy,
I forward ported the following patches from you to linaro-2.6.39:
Author: Andy Green andy@warmcat.com Date: Thu Mar 24 21:27:29 2011 +0000
OMAP2+: add cpu id register to MAC address helper
Introduce a generic helper function that can set a MAC address using data from the OMAP unique CPU ID register.
For comparison purposes this produces a MAC address of
2e:40:70:f0:12:06
for the ethernet device on my Panda.
Signed-off-by: Andy Green andy.green@linaro.org Acked-by: Arnd Bergmann arnd@arndb.de
Author: Andy Green andy@warmcat.com Date: Thu Mar 24 21:27:38 2011 +0000
OMAP2+: PANDA: Fix up random or missing MAC addresses for eth0 and wlan0
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 alan@lxorguk.ukuu.org.uk Signed-off-by: Andy Green andy.green@linaro.org Acked-by: Arnd Bergmann arnd@arndb.de
Could you please follow up with the appropriate maintainer (probably Tony Lindgren) to ensure those patches are merged upstream and not forgotten about? You may add my ACK as well.
Thanks
Nicolas