X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ae57d8838ce086c44a95b54816191ed9e92545b2..ea98cdf5c91274503ef7387ab5018855cdc26ea1:/package/kernel/modules/other.mk diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 3781cbe32..53080f8cd 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -31,6 +31,7 @@ define KernelPackage/bluetooth CONFIG_BT_HCIBTUSB \ CONFIG_BT_HCIUSB \ CONFIG_BT_HCIUART \ + CONFIG_BT_HCIUART_H4 \ CONFIG_BT_HIDP $(call AddDepends/crc16) $(call AddDepends/hid) @@ -54,6 +55,22 @@ endef $(eval $(call KernelPackage,bluetooth)) +define KernelPackage/cpu-msr + SUBMENU:=$(OTHER_MENU) + TITLE:=x86 CPU MSR support + DEPENDS:=@TARGET_x86 + KCONFIG:=CONFIG_X86_MSR + FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,20,msr) +endef + +define KernelPackage/cpu-msr/description + Kernel module for Model Specific Registers support in x86 CPUs +endef + +$(eval $(call KernelPackage,cpu-msr)) + + define KernelPackage/crc-ccitt SUBMENU:=$(OTHER_MENU) TITLE:=CRC-CCITT support @@ -115,6 +132,22 @@ endef $(eval $(call KernelPackage,crc16)) +define KernelPackage/libcrc32c + SUBMENU:=$(OTHER_MENU) + TITLE:=CRC32 library support + KCONFIG:=CONFIG_LIBCRC32C + DEPENDS:=+kmod-crypto-core +kmod-crypto-misc + FILES:=$(LINUX_DIR)/lib/libcrc32c.ko + AUTOLOAD:=$(call AutoLoad,20,crc32c libcrc32c,1) +endef + +define KernelPackage/libcrc32c/description + Kernel module for CRC32 support +endef + +$(eval $(call KernelPackage,libcrc32c)) + + define KernelPackage/eeprom-93cx6 SUBMENU:=$(OTHER_MENU) TITLE:=EEPROM 93CX6 support @@ -551,7 +584,7 @@ define KernelPackage/rfkill CONFIG_RFKILL \ CONFIG_RFKILL_INPUT=y \ CONFIG_RFKILL_LEDS=y -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1) +ifeq ($(CONFIG_LINUX_2_6_30),) FILES:= \ $(LINUX_DIR)/net/rfkill/rfkill.ko AUTOLOAD:=$(call AutoLoad,20,rfkill) @@ -679,11 +712,26 @@ endef $(eval $(call KernelPackage,wdt-scx200)) +define KernelPackage/pwm + SUBMENU:=$(OTHER_MENU) + TITLE:=PWM generic API + KCONFIG:=CONFIG_GENERIC_PWM + FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko + AUTOLOAD:=$(call AutoLoad,50,pwm) +endef + +define KernelPackage/pwm/description + Kernel module that implement a generic PWM API +endef + +$(eval $(call KernelPackage,pwm)) + + define KernelPackage/pwm-gpio SUBMENU:=$(OTHER_MENU) TITLE:=PWM over GPIO - KCONFIG:=CONFIG_GENERIC_PWM \ - CONFIG_GPIO_PWM + DEPENDS:=+kmod-pwm + KCONFIG:=CONFIG_GPIO_PWM FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko AUTOLOAD:=$(call AutoLoad,51,gpio-pwm) endef