On Tue, 2007-12-04 at 09:36 +1100, Benjamin Herrenschmidt wrote: > Worst one is time_init :-) Way too early to do any i2c babbling. Then > there used to be something with the NTP writeback, dunno if it's > changed.
Setting the system time seems to be done in the new RTC class by a late_initcall() in drivers/rtc/hctosys.c. In fact, it could even be done in userspace. NTP uses update_persistent_clock() and doesn't seem to have been 'solved' yet for the new RTC class. I don't think there's any particular reason for it to do i2c stuff in that context though. -- dwmw2 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev