Harald Schiƶberg wrote:
> Hi,
>
> with trunk(10094) on avila I have the problem, that the mac-address is
> all zeros.
>
> nslu2 has:
>
> if (mtd->read(mtd, 0x3FFB0, 6, &retlen, mac) == 0 && retlen == 6) {
> printk(KERN_INFO "nslu2 mac: %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
> mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
> memcpy(nslu2_plat_eth[0].hwaddr, mac, 6);
>
> in
> build_dir/linux-ixp4xx_generic/linux-2.6.23.12/arch/arm/mach-ixp4xx/nslu2-setup.c
> which maybe somewhat related
NSLU2 will be changing (as soon as I get some free time) to:
http://svn.nslu2-linux.org/svnroot/kernel/trunk/patches/2.6.23/66-nslu2-fetch-mac.patch
(since the former has a race condition problem with the new ethernet
driver on some distros, and the latter is acceptable to upstream).
You might try:
http://svn.nslu2-linux.org/svnroot/kernel/trunk/patches/2.6.23/63-avila-setup-mac.patch
for the avila. I've not tested that myself.
-- Rod
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel