FS#9649 - change RTC config
Attached to Project:
Arch Linux
Opened by Roman Kyrylych (Romashka) - Thursday, 21 February 2008, 23:25 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 04 March 2008, 10:29 GMT
Opened by Roman Kyrylych (Romashka) - Thursday, 21 February 2008, 23:25 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 04 March 2008, 10:29 GMT
|
Details
There are 2 interfaces for RTC in Linux kernel:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/rtc.txt;hb=HEAD Red Hat already uses only the new interface: http://www.redhat.com/archives/fedora-kernel-list/2007-August/msg00030.html It seems CONFIG_RTC and CONFIG_GEN_RTC should not be enabled at the same time, this is fixed in .25 tree: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=09b6bdb3b6a95fe270107c2831e033f9cb233d2d Our kernel config has both old and new interfaces enabled, which seems to be wrong according to the commit above. In case CONFIG_RTC will be disabled, CONFIG_RTC_CLASS should be set to y instead of m, probably. |
This task depends upon
FS#9636all RTC_CLASS-based drivers are useless in the current kernel config because old RTC driver takes precedence.