summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc83xx/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mpc83xx/modules.mk')
-rw-r--r--target/linux/mpc83xx/modules.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/mpc83xx/modules.mk b/target/linux/mpc83xx/modules.mk
new file mode 100644
index 000000000..dd65d112f
--- /dev/null
+++ b/target/linux/mpc83xx/modules.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+define KernelPackage/ata-rbppc-cf
+ SUBMENU:=$(BLOCK_MENU)
+ TITLE:=RB600 Compact Flash support
+ DEPENDS:=@TARGET_mpc83xx
+ KCONFIG:= \
+ CONFIG_PATA_PLATFORM \
+ CONFIG_PATA_RB_PPC
+ FILES:=\
+ $(LINUX_DIR)/drivers/ata/pata_rbppc_cf.ko
+ AUTOLOAD:=$(call AutoLoad,41,pata_rbppc_cf,1)
+ $(call AddDepends/ata)
+endef
+
+define KernelPackage/ata-rbppc-cf/description
+ RB600 Compact Flash support.
+endef
+
+$(eval $(call KernelPackage,ata-rbppc-cf))