On Sun, Nov 04, 2007 at 01:49:58PM -0800, David Miller wrote: ... > The SROM reads aren't failing, think out of the box, the more likely > problem is: > > 3) Sun doesn't initialize the SROM for the onboard network devices. > You have to obtain the MAC address and other settings by fetching > them from the openfirmware device properties. Dave, Thanks! This was the case with the dmfe driver on SPARC. I've attached a patch as comment #6 on: http://bugzilla.kernel.org/show_bug.cgi?id=9106 User confirmed dmfe driver (with patch) finds the MAC addresses. I'll ask Kyle McMartin to push this. Unfortunately, the device still doesn't work. Any SPARC volunteers interested in working on this bug? I don't have the HW or interest to work on this further. It's possible recent changes to dmfe might have also fixed some of the issues (IIRC, phy reset patch was pushed in Decemeber). I'd be happy to advise/review changes for anyone who works on it. thanks, grant > > So use something like: > > #ifdef CONFIG_OF > struct device_node *dp = pci_device_to_OF_node(pdev); > const char *addr; > > addr = of_get_property(dp, "local-mac-address", NULL); > if (addr) { > memcpy(dev->dev_addr, addr, ETH_ALEN); > return 1; > } > return 0; > #endif - To unsubscribe from this list: send the line "unsubscribe ultralinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html