summaryrefslogtreecommitdiff
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-04-16 08:03:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-04-16 08:03:53 +0000
commit0eb7f75195404e45d967be74e560d0da02dadbe2 (patch)
tree2b8beca1ae64d9a3db24df3f37844e4a9d01a33a /package/kernel/modules/other.mk
parentf4997ac854b2d2db37b3f5530a3d81e243c47f3b (diff)
downloadmtk-20170518-0eb7f75195404e45d967be74e560d0da02dadbe2.zip
mtk-20170518-0eb7f75195404e45d967be74e560d0da02dadbe2.tar.gz
mtk-20170518-0eb7f75195404e45d967be74e560d0da02dadbe2.tar.bz2
Add profile for Soekris Net4801 boards (#1072)
SVN-Revision: 6962
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk70
1 files changed, 70 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 89b5b93..0b09dec 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -285,5 +285,75 @@ define KernelPackage/videodev/2.6
endef
$(eval $(call KernelPackage,videodev))
+define KernelPackage/leds-net48xx
+ TITLE:=Soekris Net48xx LED support
+ DESCRIPTION:=Kernel module for Soekris Net48xx LEDs
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ DEPENDS:=@LINUX_2_6_X86_Soekris
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_LEDS_NET48XX)
+ FILES:=$(MODULES_DIR)/kernel/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
+endef
+$(eval $(call KernelPackage,leds-net48xx))
+
+define KernelPackage/nsc-gpio
+ TITLE:=Natsemi GPIO support
+ DESCRIPTION:=Kernel module for Natsemi GPIO
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ DEPENDS:=@LINUX_2_6_X86_Soekris
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_NSC_GPIO)
+ FILES:=$(MODULES_DIR)/kernel/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
+endef
+$(eval $(call KernelPackage,nsc-gpio))
+
+define KernelPackage/scx200-gpio
+ TITLE:=Natsemi SCX200 GPIO support
+ DESCRIPTION:=Kernel module for SCX200 GPIO
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ DEPENDS:=kmod-nsc-gpio @LINUX_2_6_X86_Soekris
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_SCx200_GPIO)
+ FILES:=$(MODULES_DIR)/kernel/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
+endef
+$(eval $(call KernelPackage,scx200-gpio))
+define KernelPackage/scx200-wdt
+ TITLE:=Natsemi SCX200 Watchdog support
+ DESCRIPTION:=Kernel module for SCX200 Watchdog
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ DEPENDS:=@LINUX_2_6_X86_Soekris
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_SC1200_WDT)
+ FILES:=$(MODULES_DIR)/kernel/drivers/char/watchdog/scx200_wdt.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,scx200_wt)
+endef
+$(eval $(call KernelPackage,scx200-wdt))
+
+define KernelPackage/hwmon
+ TITLE:=Hardware monitoring support
+ DESCRIPTION:=Kernel modules for hardware monitoring
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_HWMON_VID)
+ FILES:= \
+ $(MODULES_DIR)/kernel/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid)
+endef
+$(eval $(call KernelPackage,hwmon))
+define KernelPackage/hwmon-pc87360
+ TITLE:=PC87360 monitoring support
+ DESCRIPTION:=Kernel modules for PC87360 chips
+ DEFAULT:=y if LINUX_2_6_X86_Soekris
+ DEPENDS:=kmod-hwmon
+ SUBMENU:=$(EMENU)
+ KCONFIG:=$(CONFIG_SENSORS_PC87360)
+ FILES:=$(MODULES_DIR)/kernel/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,pc87360)
+endef
+$(eval $(call KernelPackage,hwmon-pc87360))