aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-10-19 10:10:41 +0000
committerJohn Crispin <john@openwrt.org>2015-10-19 10:10:41 +0000
commit5c338cb0d82ace6b43988dc95925b0d541e7cbfa (patch)
tree1cf6cadf77ada6629986747a91100fd0b1e5e863 /package/kernel/linux
parent729a5378cd4e2d0ca9024adc641a74eda5272b61 (diff)
downloadupstream-5c338cb0d82ace6b43988dc95925b0d541e7cbfa.tar.gz
upstream-5c338cb0d82ace6b43988dc95925b0d541e7cbfa.tar.bz2
upstream-5c338cb0d82ace6b43988dc95925b0d541e7cbfa.zip
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 <psidhu@gateworks.com> SVN-Revision: 47224
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netdevices.mk14
1 files changed, 14 insertions, 0 deletions
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)