X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/91c5508f6b0bc239a239799722f0a77c487a3d9b..2ce9114dccd09d0803752f880131cb6e12cbec93:/package/kernel/modules/spi.mk 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))