summaryrefslogtreecommitdiff
path: root/target/linux/adm5120
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-24 13:34:51 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-24 13:34:51 +0000
commit484051d05518b1f7fb53b535e84302849080272d (patch)
treed4fcbe83d1ea442b9b0a2470e95fc222536a114c /target/linux/adm5120
parent9ae19dcf8799314a89c7eabd57304c046f50d513 (diff)
downloadmtk-20170518-484051d05518b1f7fb53b535e84302849080272d.zip
mtk-20170518-484051d05518b1f7fb53b535e84302849080272d.tar.gz
mtk-20170518-484051d05518b1f7fb53b535e84302849080272d.tar.bz2
package/kernel: move target specific modules to their own target files
SVN-Revision: 21132
Diffstat (limited to 'target/linux/adm5120')
-rw-r--r--target/linux/adm5120/modules.mk56
1 files changed, 56 insertions, 0 deletions
diff --git a/target/linux/adm5120/modules.mk b/target/linux/adm5120/modules.mk
new file mode 100644
index 0000000..69b8d2e
--- /dev/null
+++ b/target/linux/adm5120/modules.mk
@@ -0,0 +1,56 @@
+#
+# Copyright (C) 2010 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/ledtrig-adm5120-switch
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=LED ADM5120 Switch Port Status Trigger
+ DEPENDS:=@TARGET_adm5120
+ KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
+ FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
+endef
+
+define KernelPackage/ledtrig-adm5120-switch/description
+ Kernel module to allow LEDs to be controlled by the port states
+ of the ADM5120 built-in ethernet switch.
+endef
+
+$(eval $(call KernelPackage,ledtrig-adm5120-switch))
+
+
+define KernelPackage/pata-rb153-cf
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=RouterBOARD 153 CF Slot support
+ DEPENDS:=@TARGET_adm5120_router_le
+ KCONFIG:=CONFIG_PATA_RB153_CF
+ FILES:=$(LINUX_DIR)/drivers/ata/pata_rb153_cf.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,pata_rb153_cf,1)
+ $(call AddDepends/ata)
+endef
+
+define KernelPackage/pata-rb153-cf/description
+ Kernel support for the RouterBoard 153 CF slot.
+endef
+
+$(eval $(call KernelPackage,pata-rb153-cf,1))
+
+
+define KernelPackage/usb-adm5120
+ SUBMENU:=$(USB_MENU)
+ TITLE:=Support for the ADM5120 HCD controller
+ DEPENDS:=@TARGET_adm5120
+ KCONFIG:=CONFIG_USB_ADM5120_HCD
+ FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd,1)
+ $(call AddDepends/usb)
+endef
+
+define KernelPackage/usb-adm5120/description
+ Kernel support for the ADM5120 HCD USB controller
+endef
+
+$(eval $(call KernelPackage,usb-adm5120))