X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fkernel%2Fmodules%2Fother.mk;h=f6e6ea3990aefe07a7ed19feae2286f57135c91e;hp=834af2a6c8bb885c9f574246bc5922289da6610f;hb=2b23c7e808e994277467a6e969eb6dbd39ac1c35;hpb=927fdc8ad93672be3118bcba625b5a02e33cc006 diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 834af2a6c8..f6e6ea3990 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 @@ -169,7 +169,7 @@ define KernelPackage/gpio-cs5535 DEPENDS:=@TARGET_x86 KCONFIG:=CONFIG_CS5535_GPIO \ CONFIG_GPIO_CS5535 -ifeq ($(CONFIG_LINUX_2_6_32),y) +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.32)),1) FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio) else @@ -335,7 +335,9 @@ define KernelPackage/input-gpio-keys SUBMENU:=$(OTHER_MENU) TITLE:=GPIO key support DEPENDS:= @GPIO_SUPPORT - KCONFIG:=CONFIG_KEYBOARD_GPIO + KCONFIG:= \ + CONFIG_KEYBOARD_GPIO \ + CONFIG_INPUT_KEYBOARD=y FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko AUTOLOAD:=$(call AutoLoad,60,gpio_keys) $(call AddDepends/input) @@ -564,7 +566,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: @@ -573,6 +575,21 @@ endef $(eval $(call KernelPackage,ledtrig-netfilter)) +define KernelPackage/ledtrig-usbdev + SUBMENU:=$(OTHER_MENU) + TITLE:=LED USB device Trigger + DEPENDS:=@USB_SUPPORT +kmod-usb-core + KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV + FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko + AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev) +endef + +define KernelPackage/ledtrig-usbdev/description + Kernel module to drive LEDs based on USB device presence/activity. +endef + +$(eval $(call KernelPackage,ledtrig-usbdev)) + define KernelPackage/lp SUBMENU:=$(OTHER_MENU) @@ -784,7 +801,6 @@ endef $(eval $(call KernelPackage,wdt-scx200)) - define KernelPackage/pwm SUBMENU:=$(OTHER_MENU) TITLE:=PWM generic API @@ -814,3 +830,50 @@ define KernelPackage/pwm-gpio/description endef $(eval $(call KernelPackage,pwm-gpio)) + +define KernelPackage/rtc-core + SUBMENU:=$(OTHER_MENU) + TITLE:=Real Time Clock class support + 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)) + + +define KernelPackage/n810bm + SUBMENU:=$(OTHER_MENU) + TITLE:=Nokia N810 battery management driver + DEPENDS:=@TARGET_omap24xx + KCONFIG:=CONFIG_N810BM + FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,01,n810bm) +endef + +define KernelPackage/n810bm/description + Nokia N810 battery management driver. + Controls battery power management and battery charging. +endef + +$(eval $(call KernelPackage,n810bm))