Re: set_rtc_time() cleanup / normalization
From: Wolfgang Denk <hidden>
Date: 2003-05-15 18:21:24
In message [ref] Gabriel Paubert wrote:
And to go against the existing documentation of hwclock(8) so that the behaviour depends on the architecture, the exact RTC chip model, the phase of the moon:
hwclock(8) does not correctly describe the current situation. There are already several boards where the documentation and the code do not match. [Please note that I avoid writing "the documentation is wrong" - I think it is, but YMMV.]
I personally believe that explicitly implementing something which goes against the existing documentation is one of the worst things that can happen, espcecially since (after a few years of experience with
If the documentation is wrong, or does not make sense, it would be even worse to stick with it just because it is "existing documen- tation". Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/