| Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 1 | \# | 
| Alessandro Zummo | c58411e | 2006-03-27 01:16:34 -0800 | [diff] [blame] | 2 | # RTC class/drivers configuration | 
 | 3 | # | 
 | 4 |  | 
| Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 5 | menu "Real Time Clock" | 
 | 6 |  | 
| Alessandro Zummo | c58411e | 2006-03-27 01:16:34 -0800 | [diff] [blame] | 7 | config RTC_LIB | 
| Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 8 | 	tristate | 
 | 9 |  | 
 | 10 | config RTC_CLASS | 
 | 11 | 	tristate "RTC class" | 
 | 12 | 	depends on EXPERIMENTAL | 
 | 13 | 	default n | 
 | 14 | 	select RTC_LIB | 
 | 15 | 	help | 
 | 16 | 	  Generic RTC class support. If you say yes here, you will | 
 | 17 |  	  be allowed to plug one or more RTCs to your system. You will | 
 | 18 | 	  probably want to enable one of more of the interfaces below. | 
 | 19 |  | 
 | 20 | 	  This driver can also be built as a module. If so, the module | 
 | 21 | 	  will be called rtc-class. | 
 | 22 |  | 
 | 23 | config RTC_HCTOSYS | 
 | 24 | 	bool "Set system time from RTC on startup" | 
 | 25 | 	depends on RTC_CLASS = y | 
 | 26 | 	default y | 
 | 27 | 	help | 
 | 28 | 	  If you say yes here, the system time will be set using | 
 | 29 | 	  the value read from the specified RTC device. This is useful | 
 | 30 | 	  in order to avoid unnecessary fschk runs. | 
 | 31 |  | 
 | 32 | config RTC_HCTOSYS_DEVICE | 
 | 33 | 	string "The RTC to read the time from" | 
 | 34 | 	depends on RTC_HCTOSYS = y | 
 | 35 | 	default "rtc0" | 
 | 36 | 	help | 
 | 37 | 	  The RTC device that will be used as the source for | 
 | 38 | 	  the system time, usually rtc0. | 
 | 39 |  | 
 | 40 | comment "RTC interfaces" | 
 | 41 | 	depends on RTC_CLASS | 
 | 42 |  | 
| Alessandro Zummo | c5c3e19 | 2006-03-27 01:16:39 -0800 | [diff] [blame^] | 43 | config RTC_INTF_SYSFS | 
 | 44 | 	tristate "sysfs" | 
 | 45 | 	depends on RTC_CLASS && SYSFS | 
 | 46 | 	default RTC_CLASS | 
 | 47 | 	help | 
 | 48 | 	  Say yes here if you want to use your RTC using the sysfs | 
 | 49 | 	  interface, /sys/class/rtc/rtcX . | 
 | 50 |  | 
 | 51 | 	  This driver can also be built as a module. If so, the module | 
 | 52 | 	  will be called rtc-sysfs. | 
 | 53 |  | 
| Alessandro Zummo | 0c86edc | 2006-03-27 01:16:37 -0800 | [diff] [blame] | 54 | comment "RTC drivers" | 
 | 55 | 	depends on RTC_CLASS | 
 | 56 |  | 
 | 57 | endmenu |