summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/modules.mk
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-25 15:50:04 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-07-25 15:50:04 +0000
commitfb9582f0c971f741eff68f22b3fcd161a0c44e49 (patch)
tree083e82c581cdba840ec467b187d65beeff618951 /target/linux/ar71xx/modules.mk
parentc170356e03a39576953ab0679c2cb0ca19a864cc (diff)
[ar71xx] move target specific spi modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32853 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/modules.mk')
-rw-r--r--target/linux/ar71xx/modules.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ar71xx/modules.mk b/target/linux/ar71xx/modules.mk
index 18f0c4ae5..9b061d55b 100644
--- a/target/linux/ar71xx/modules.mk
+++ b/target/linux/ar71xx/modules.mk
@@ -35,3 +35,19 @@ define KernelPackage/leds-wndr3700-usb/description
endef
$(eval $(call KernelPackage,leds-wndr3700-usb))
+
+
+define KernelPackage/spi-vsc7385
+ SUBMENU:=$(SPI_MENU)
+ TITLE:=Vitesse VSC7385 ethernet switch driver
+ DEPENDS:=@TARGET_ar71xx
+ KCONFIG:=CONFIG_SPI_VSC7385
+ FILES:=$(LINUX_DIR)/drivers/spi/spi-vsc7385.ko
+ AUTOLOAD:=$(call AutoLoad,93,spi-vsc7385)
+endef
+
+define KernelPackage/spi-vsc7385/description
+ This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
+endef
+
+$(eval $(call KernelPackage,spi-vsc7385))