[kernel]: partly revert [19925] as the ata version builds fine
[openwrt.git] / package / kernel / modules / spi.mk
index 7e74239..ed1ab01 100644 (file)
@@ -81,7 +81,7 @@ define KernelPackage/spi-dev
           CONFIG_SPI=y \
           CONFIG_SPI_MASTER=y
   FILES:=$(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX)
           CONFIG_SPI=y \
           CONFIG_SPI_MASTER=y
   FILES:=$(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,91,spidev)
+  AUTOLOAD:=$(call AutoLoad,93,spidev)
 endef
 
 define KernelPackage/spi-dev/description
 endef
 
 define KernelPackage/spi-dev/description
@@ -104,3 +104,19 @@ define KernelPackage/bcm63xx-spi/description
 endef
 
 $(eval $(call KernelPackage,bcm63xx-spi))
 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))
This page took 0.020331 seconds and 4 git commands to generate.