diff options
author | Alessandro Zummo <a.zummo@towertech.it> | 2006-03-27 04:16:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:44:51 -0500 |
commit | a95579cd4b40a4e062e187d931f498145551ee29 (patch) | |
tree | f7c47f1e27210194448d2fe48c32ac8244ee41ac /drivers/rtc/Kconfig | |
parent | 1fec7c66ba98fc3a04e15fd14fad6b404e56fc94 (diff) |
[PATCH] RTC subsystem: test device/driver
Interrupts can be generated by
echo "alarm|tick|update" >/sys/class/rtc/rtcX/device/irq
Signed-off-by: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 3de823f2f055..7eb1368d04f6 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
@@ -86,4 +86,19 @@ config RTC_DRV_X1205 | |||
86 | This driver can also be built as a module. If so, the module | 86 | This driver can also be built as a module. If so, the module |
87 | will be called rtc-x1205. | 87 | will be called rtc-x1205. |
88 | 88 | ||
89 | config RTC_DRV_TEST | ||
90 | tristate "Test driver/device" | ||
91 | depends on RTC_CLASS | ||
92 | help | ||
93 | If you say yes here you get support for the | ||
94 | RTC test driver. It's a software RTC which can be | ||
95 | used to test the RTC subsystem APIs. It gets | ||
96 | the time from the system clock. | ||
97 | You want this driver only if you are doing development | ||
98 | on the RTC subsystem. Please read the source code | ||
99 | for further details. | ||
100 | |||
101 | This driver can also be built as a module. If so, the module | ||
102 | will be called rtc-test. | ||
103 | |||
89 | endmenu | 104 | endmenu |