diff options
-rw-r--r-- | arch/sparc/defconfig | 2 | ||||
-rw-r--r-- | drivers/char/Kconfig | 24 | ||||
-rw-r--r-- | drivers/char/Makefile | 3 | ||||
-rw-r--r-- | drivers/sbus/char/Kconfig | 1 |
4 files changed, 28 insertions, 2 deletions
diff --git a/arch/sparc/defconfig b/arch/sparc/defconfig index 38bd79fe6e75..fdc67238408a 100644 --- a/arch/sparc/defconfig +++ b/arch/sparc/defconfig | |||
@@ -600,7 +600,7 @@ CONFIG_LEGACY_PTY_COUNT=256 | |||
600 | # CONFIG_IPMI_HANDLER is not set | 600 | # CONFIG_IPMI_HANDLER is not set |
601 | # CONFIG_WATCHDOG is not set | 601 | # CONFIG_WATCHDOG is not set |
602 | CONFIG_HW_RANDOM=m | 602 | CONFIG_HW_RANDOM=m |
603 | CONFIG_RTC=m | 603 | CONFIG_JS_RTC=m |
604 | # CONFIG_R3964 is not set | 604 | # CONFIG_R3964 is not set |
605 | # CONFIG_APPLICOM is not set | 605 | # CONFIG_APPLICOM is not set |
606 | # CONFIG_DRM is not set | 606 | # CONFIG_DRM is not set |
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index c8dfd18bea44..acdbcdc3e457 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -726,7 +726,7 @@ config NVRAM | |||
726 | 726 | ||
727 | config RTC | 727 | config RTC |
728 | tristate "Enhanced Real Time Clock Support" | 728 | tristate "Enhanced Real Time Clock Support" |
729 | depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC64 && (!SPARC32 || PCI) && !FRV && !ARM && !SUPERH && !S390 | 729 | depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV && !ARM && !SUPERH && !S390 |
730 | ---help--- | 730 | ---help--- |
731 | If you say Y here and create a character special file /dev/rtc with | 731 | If you say Y here and create a character special file /dev/rtc with |
732 | major number 10 and minor number 135 using mknod ("man mknod"), you | 732 | major number 10 and minor number 135 using mknod ("man mknod"), you |
@@ -750,6 +750,28 @@ config RTC | |||
750 | To compile this driver as a module, choose M here: the | 750 | To compile this driver as a module, choose M here: the |
751 | module will be called rtc. | 751 | module will be called rtc. |
752 | 752 | ||
753 | config JS_RTC | ||
754 | tristate "Enhanced Real Time Clock Support" | ||
755 | depends on SPARC32 && PCI | ||
756 | ---help--- | ||
757 | If you say Y here and create a character special file /dev/rtc with | ||
758 | major number 10 and minor number 135 using mknod ("man mknod"), you | ||
759 | will get access to the real time clock (or hardware clock) built | ||
760 | into your computer. | ||
761 | |||
762 | Every PC has such a clock built in. It can be used to generate | ||
763 | signals from as low as 1Hz up to 8192Hz, and can also be used | ||
764 | as a 24 hour alarm. It reports status information via the file | ||
765 | /proc/driver/rtc and its behaviour is set by various ioctls on | ||
766 | /dev/rtc. | ||
767 | |||
768 | If you think you have a use for such a device (such as periodic data | ||
769 | sampling), then say Y here, and read <file:Documentation/rtc.txt> | ||
770 | for details. | ||
771 | |||
772 | To compile this driver as a module, choose M here: the | ||
773 | module will be called js-rtc. | ||
774 | |||
753 | config SGI_DS1286 | 775 | config SGI_DS1286 |
754 | tristate "SGI DS1286 RTC support" | 776 | tristate "SGI DS1286 RTC support" |
755 | depends on SGI_IP22 | 777 | depends on SGI_IP22 |
diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 8fecaf4010b1..23b26b87cc32 100644 --- a/drivers/char/Makefile +++ b/drivers/char/Makefile | |||
@@ -109,6 +109,9 @@ obj-$(CONFIG_TCG_TPM) += tpm/ | |||
109 | 109 | ||
110 | obj-$(CONFIG_PS3_FLASH) += ps3flash.o | 110 | obj-$(CONFIG_PS3_FLASH) += ps3flash.o |
111 | 111 | ||
112 | obj-$(CONFIG_JS_RTC) += js-rtc.o | ||
113 | js-rtc-y = rtc.o | ||
114 | |||
112 | # Files generated that shall be removed upon make clean | 115 | # Files generated that shall be removed upon make clean |
113 | clean-files := consolemap_deftbl.c defkeymap.c | 116 | clean-files := consolemap_deftbl.c defkeymap.c |
114 | 117 | ||
diff --git a/drivers/sbus/char/Kconfig b/drivers/sbus/char/Kconfig index 35a73168333f..400c65bfb8c7 100644 --- a/drivers/sbus/char/Kconfig +++ b/drivers/sbus/char/Kconfig | |||
@@ -15,6 +15,7 @@ config SUN_OPENPROMIO | |||
15 | 15 | ||
16 | config SUN_MOSTEK_RTC | 16 | config SUN_MOSTEK_RTC |
17 | tristate "Mostek real time clock support" | 17 | tristate "Mostek real time clock support" |
18 | depends on SPARC32 | ||
18 | help | 19 | help |
19 | The Mostek RTC chip is used on all known Sun computers except | 20 | The Mostek RTC chip is used on all known Sun computers except |
20 | some JavaStations. For a JavaStation you need to say Y both here | 21 | some JavaStations. For a JavaStation you need to say Y both here |