From: John Crispin Date: Mon, 19 Oct 2015 10:10:41 +0000 (+0000) Subject: kernel: add mvsw61xx module package X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5c338cb0d82ace6b43988dc95925b0d541e7cbfa;p=openwrt%2Fstaging%2Faparcar.git kernel: add mvsw61xx module package Adds the package to select the mvsw61xx module present in the 3.18/4.0/4.1 kernels. Signed-off-by: Pushpal Sidhu SVN-Revision: 47224 --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 9efac98a42..ef3cf85ef8 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -180,6 +180,20 @@ endef $(eval $(call KernelPackage,swconfig)) +define KernelPackage/switch-mvsw61xx + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Marvell 88E61xx switch support + DEPENDS:=+kmod-swconfig + KCONFIG:=CONFIG_MVSW61XX_PHY + FILES:=$(LINUX_DIR)/drivers/net/phy/mvsw61xx.ko + AUTOLOAD:=$(call AutoLoad,42,mvsw61xx) +endef + +define KernelPackage/switch-mvsw61xx/description + Marvell 88E61xx switch support +endef + +$(eval $(call KernelPackage,switch-mvsw61xx)) define KernelPackage/switch-ip17xx SUBMENU:=$(NETWORK_DEVICES_MENU)