On Tuesday 26 August 2008, Jon Smirl wrote: > > Another solution is call_userspace_helper. GregKH convinced me to > change some things like this to small user space apps in the graphics > code. Is is easy to do the read/write from sysfs.
Some of us don't like the implication that the relevant hardware can't properly boot without initramfs/initrd tools. Even if it doesn't need anything the least bit fancy like a RAID for rootfs. > It doesn't say what driver it is that wants this capability. PC based > video and network cards want to do this but in those cases the i2c bus > is located on the card. > > The embedded system I'm working could probably use this. The eeprom > holding the MAC address is on the RTC chip. There is no direct way > from the network driver to change the stored MAC address. I just set > it from uboot. In this case, manufacturing assigns the MAC address by writing it into part of the EEPROM. Board-specific code can know which part, and then this patch lets it read the address and hand it to the MAC driver. Last I heard, the U-Boot policy was not to touch controllers that are not required during boot. Despite relatively common cases like needing to set up MAC addresses ... maybe this patch of Kevin's can make it a bunch easier to cope with that U-Boot policy. :) - Dave _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
