Enhanced Real Time Clock Support (legacy PC RTC driver)
modulename: rtc.ko
configname: CONFIG_RTC
Linux Kernel Configuration
└─>Device Drivers
└─>Character devices
└─>Enhanced Real Time Clock Support (legacy PC RTC driver)
In linux kernel since version 2.6.12
If you say Y here and create a character special file /dev/rtc with
major number 10 and minor number 135 using mknod ("man mknod"), you
will get access to the real time clock (or hardware clock) built
into your computer.
Every PC has such a clock built in. It can be used to generate
signals from as low as 1Hz up to 8192Hz, and can also be used
as a 24 hour alarm. It reports status information via the file
/proc/driver/rtc and its behaviour is set by various ioctls on
/dev/rtc.
If you run Linux on a multiprocessor machine and said Y to
"Symmetric Multi Processing" above, you should say Y here to read
and set the RTC in an SMP compatible fashion.
If you think you have a use for such a device (such as periodic data
sampling), then say Y here, and read Documentation/rtc.txt
for details.
To compile this driver as a module, choose M here: the
module will be called rtc.
major number 10 and minor number 135 using mknod ("man mknod"), you
will get access to the real time clock (or hardware clock) built
into your computer.
Every PC has such a clock built in. It can be used to generate
signals from as low as 1Hz up to 8192Hz, and can also be used
as a 24 hour alarm. It reports status information via the file
/proc/driver/rtc and its behaviour is set by various ioctls on
/dev/rtc.
If you run Linux on a multiprocessor machine and said Y to
"Symmetric Multi Processing" above, you should say Y here to read
and set the RTC in an SMP compatible fashion.
If you think you have a use for such a device (such as periodic data
sampling), then say Y here, and read Documentation/rtc.txt
for details.
To compile this driver as a module, choose M here: the
module will be called rtc.
source code:
depends
CONFIG_RTC_LIBNOT CONFIG_ARM
NOT CONFIG_AVR32
NOT CONFIG_BLACKFIN
NOT CONFIG_FRV
NOT CONFIG_IA64
NOT CONFIG_M68K
NOT CONFIG_PARISC
NOT CONFIG_PPC
NOT CONFIG_S390
NOT CONFIG_SPARC
NOT CONFIG_SUPERH