summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-04 07:54:10 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-04 07:54:10 +0000
commit9f4a54a627874e0bc486e26408aa8c5ca9abc022 (patch)
tree46c3b54deede1425ac9c1610ab6b9a6a83cb4a7c
parentfb539d16280a2eb8e5e8840259bb9a385f7c3d68 (diff)
[package] kernel/modules: package the VSC7385 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16325 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 7e74239ed..48e105f2c 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))