aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-12-10 15:17:06 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-12-10 15:17:06 +0000
commit6db44d5a48f001ae0f84dddd36ccc9d9c4675d55 (patch)
treeb7a87e96509d096a4b83c6702c8d705d45347487 /package/kernel
parentb0c01de62dcad7623267120c77678b65953143f6 (diff)
downloadupstream-6db44d5a48f001ae0f84dddd36ccc9d9c4675d55.tar.gz
upstream-6db44d5a48f001ae0f84dddd36ccc9d9c4675d55.tar.bz2
upstream-6db44d5a48f001ae0f84dddd36ccc9d9c4675d55.zip
ar71xx: add rtc modules for nbg460n
This adds the rtc-class and rtc-pcf8563 modules for the real time clock used in the NBG460N/550N/550NH. Signed-off-by: Michael Kurz <michi.kurz@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24420 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/other.mk36
1 files changed, 33 insertions, 3 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 834af2a6c8..97869747bc 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -136,7 +136,7 @@ define KernelPackage/libcrc32c
SUBMENU:=$(OTHER_MENU)
TITLE:=CRC32 library support
KCONFIG:=CONFIG_LIBCRC32C
- DEPENDS:=+kmod-crypto-core +kmod-crypto-misc
+ DEPENDS:=+kmod-crypto-core +kmod-crypto-misc
FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
AUTOLOAD:=$(call AutoLoad,20,crc32c libcrc32c,1)
endef
@@ -564,7 +564,7 @@ endef
define KernelPackage/ledtrig-netfilter/description
Kernel module to flash LED when a particular packets passing through your machine.
-
+
For example to create an LED trigger for incoming SSH traffic:
iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
Then attach the new trigger to an LED on your system:
@@ -784,7 +784,6 @@ endef
$(eval $(call KernelPackage,wdt-scx200))
-
define KernelPackage/pwm
SUBMENU:=$(OTHER_MENU)
TITLE:=PWM generic API
@@ -814,3 +813,34 @@ define KernelPackage/pwm-gpio/description
endef
$(eval $(call KernelPackage,pwm-gpio))
+
+define KernelPackage/rtc-core
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Real Time Clock class support
+ DEPENDS:=@LINUX_2_6
+ KCONFIG:=CONFIG_RTC_CLASS
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,29,rtc-core)
+endef
+
+define KernelPackage/rtc-core/description
+ Generic RTC class support.
+endef
+
+$(eval $(call KernelPackage,rtc-core))
+
+define KernelPackage/rtc-pcf8563
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Philips PCF8563/Epson RTC8564 RTC support
+ DEPENDS:=+kmod-rtc-core
+ KCONFIG:=CONFIG_RTC_DRV_PCF8563
+ FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563)
+endef
+
+define KernelPackage/rtc-pcf8563/description
+ Kernel module for Philips PCF8563 RTC chip.
+ The Epson RTC8564 should work as well.
+endef
+
+$(eval $(call KernelPackage,rtc-pcf8563))