summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-06-04 07:54:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-06-04 07:54:10 +0000
commit42011abcb6cfb37b4235d4dd159486ac1acdca84 (patch)
treef5fcc35c0bfd5e60673f0cc0d0630b11545540b9
parent08bd6049416c11b84b7987abed4941244becb5d1 (diff)
downloadmtk-20170518-42011abcb6cfb37b4235d4dd159486ac1acdca84.zip
mtk-20170518-42011abcb6cfb37b4235d4dd159486ac1acdca84.tar.gz
mtk-20170518-42011abcb6cfb37b4235d4dd159486ac1acdca84.tar.bz2
kernel/modules: package the VSC7385 driver
SVN-Revision: 16325
-rw-r--r--package/kernel/modules/spi.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/spi.mk b/package/kernel/modules/spi.mk
index 7e74239..48e105f 100644
--- a/package/kernel/modules/spi.mk
+++ b/package/kernel/modules/spi.mk
@@ -104,3 +104,19 @@ define KernelPackage/bcm63xx-spi/description
endef
$(eval $(call KernelPackage,bcm63xx-spi))
+
+
+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.$(LINUX_KMOD_SUFFIX)
+ 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))