X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fkernel%2Fmodules%2Fother.mk;h=0ecc7b37861393594ddbdce57918f3c55ad31836;hp=56cda45f701cd3d9ffa46f1d8be58bf3e77091c3;hb=d161276f3688f67cfd7795dcb38d8b1786c4da45;hpb=31285ae3bedc6980a525324d61502b6fc56a84a1 diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 56cda45f70..0ecc7b3786 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -167,15 +167,9 @@ define KernelPackage/gpio-cs5535 SUBMENU:=$(OTHER_MENU) TITLE:=AMD CS5535/CS5536 GPIO driver DEPENDS:=@TARGET_x86 - KCONFIG:=CONFIG_CS5535_GPIO \ - CONFIG_GPIO_CS5535 -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.32)),1) + KCONFIG:=CONFIG_CS5535_GPIO FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio) -else - FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko - AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio) -endif endef define KernelPackage/gpio-cs5535/description @@ -185,6 +179,24 @@ endef $(eval $(call KernelPackage,gpio-cs5535)) +define KernelPackage/gpio-cs5535-new + SUBMENU:=$(OTHER_MENU) + TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support + DEPENDS:=@TARGET_x86 +ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1) + KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_PCI CONFIG_GPIOLIB + FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko + AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio) +endif +endef + +define KernelPackage/gpio-cs5535-new/description + This package contains the new AMD CS5535/CS5536 GPIO driver +endef + +$(eval $(call KernelPackage,gpio-cs5535-new)) + + define KernelPackage/gpio-dev SUBMENU:=$(OTHER_MENU) TITLE:=Generic GPIO char device support @@ -651,6 +663,21 @@ endef $(eval $(call KernelPackage,mmc-atmelmci,1)) +define KernelPackage/oprofile + SUBMENU:=$(OTHER_MENU) + TITLE:=OProfile profiling support + KCONFIG:=CONFIG_OPROFILE + FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.$(LINUX_KMOD_SUFFIX) + DEPENDS:=@KERNEL_PROFILING +endef + +define KernelPackage/oprofile/description + Kernel module for support for oprofile system profiling. +endef + +$(eval $(call KernelPackage,oprofile)) + + define KernelPackage/rfkill SUBMENU:=$(OTHER_MENU) TITLE:=RF switch subsystem support