diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-24 18:57:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-24 18:57:43 -0400 |
commit | 9e72ea82e62dd714bc11ed29bfe09a7fc8ac24fe (patch) | |
tree | b1797d88eb6ea57e618a68a23b960e4176449926 /drivers | |
parent | 03746bad30890284cc14fc39184c5b60b9cb8bc9 (diff) | |
parent | 1966287dfa07b2aa125009587a5d2b8375775c53 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC64]: Mark most of initial bootup asm as .text.init.ref_ok
[SPARC32]: Fix bug in sparc optimized memset.
[SPARC64]: Update defconfig.
[SPARC]: Add missing NOTES section.
[SPARC32]: missing exports
[SPARC32]: Deal with rtc/sun_mostek_rtc conflict.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/Kconfig | 24 | ||||
-rw-r--r-- | drivers/char/Makefile | 3 | ||||
-rw-r--r-- | drivers/sbus/char/Kconfig | 1 |
3 files changed, 27 insertions, 1 deletions
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 |