Author: blogic
Date: 2015-10-19 12:10:41 +0200 (Mon, 19 Oct 2015)
New Revision: 47224

Modified:
   trunk/package/kernel/linux/modules/netdevices.mk
Log:
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 <[email protected]>

Modified: trunk/package/kernel/linux/modules/netdevices.mk
===================================================================
--- trunk/package/kernel/linux/modules/netdevices.mk    2015-10-19 10:10:20 UTC 
(rev 47223)
+++ trunk/package/kernel/linux/modules/netdevices.mk    2015-10-19 10:10:41 UTC 
(rev 47224)
@@ -180,7 +180,21 @@
 
 $(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)
   TITLE:=IC+ IP17XX switch support
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to