Re: [OpenWrt-Devel] Avila and mac-address

2008-01-03 Thread Imre Kaloz
2008.01.03. 22:00:43 dátumon Harald Schiöberg <[EMAIL PROTECTED]> írta: > 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:

Re: [OpenWrt-Devel] Avila and mac-address

2008-01-03 Thread Rod Whitby
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], m

[OpenWrt-Devel] Avila and mac-address

2008-01-03 Thread Harald Schiöberg
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]);