Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37664
b: refs/heads/master
c: 9e86ecb
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Linus Torvalds committed Oct 1, 2006
1 parent 8894c7b commit 5ec95ba
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0847062ad57e6d2d77875104d66f413a89769809
refs/heads/master: 9e86ecb659f11b36b5e189214b19cb31ef5dfd72
26 changes: 19 additions & 7 deletions trunk/drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ config RTC_HCTOSYS_DEVICE
The RTC device that will be used as the source for
the system time, usually rtc0.

config RTC_DEBUG
bool "RTC debug support"
depends on RTC_CLASS = y
help
Say yes here to enable debugging support in the RTC framework
and individual RTC drivers.

comment "RTC interfaces"
depends on RTC_CLASS

Expand All @@ -45,8 +52,8 @@ config RTC_INTF_SYSFS
depends on RTC_CLASS && SYSFS
default RTC_CLASS
help
Say yes here if you want to use your RTC using the sysfs
interface, /sys/class/rtc/rtcX .
Say yes here if you want to use your RTCs using sysfs interfaces,
/sys/class/rtc/rtc0 through /sys/.../rtcN.

This driver can also be built as a module. If so, the module
will be called rtc-sysfs.
Expand All @@ -56,8 +63,9 @@ config RTC_INTF_PROC
depends on RTC_CLASS && PROC_FS
default RTC_CLASS
help
Say yes here if you want to use your RTC using the proc
interface, /proc/driver/rtc .
Say yes here if you want to use your first RTC through the proc
interface, /proc/driver/rtc. Other RTCs will not be available
through that API.

This driver can also be built as a module. If so, the module
will be called rtc-proc.
Expand All @@ -67,8 +75,11 @@ config RTC_INTF_DEV
depends on RTC_CLASS
default RTC_CLASS
help
Say yes here if you want to use your RTC using the dev
interface, /dev/rtc .
Say yes here if you want to use your RTCs using the /dev
interfaces, which "udev" sets up as /dev/rtc0 through
/dev/rtcN. You may want to set up a symbolic link so one
of these can be accessed as /dev/rtc, which is a name
expected by "hwclock" and some other programs.

This driver can also be built as a module. If so, the module
will be called rtc-dev.
Expand All @@ -78,7 +89,8 @@ config RTC_INTF_DEV_UIE_EMUL
depends on RTC_INTF_DEV
help
Provides an emulation for RTC_UIE if the underlaying rtc chip
driver did not provide RTC_UIE ioctls.
driver does not expose RTC_UIE ioctls. Those requests generate
once-per-second update interrupts, used for synchronization.

comment "RTC drivers"
depends on RTC_CLASS
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/rtc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Makefile for RTC class/drivers.
#

ifeq ($(CONFIG_RTC_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

obj-$(CONFIG_RTC_LIB) += rtc-lib.o
obj-$(CONFIG_RTC_HCTOSYS) += hctosys.o
obj-$(CONFIG_RTC_CLASS) += rtc-core.o
Expand Down

0 comments on commit 5ec95ba

Please sign in to comment.