aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-10-19 10:10:41 +0000
committerJohn Crispin <blogic@openwrt.org>2015-10-19 10:10:41 +0000
commitba23715886f29befaa94970b864c686d82ef1f71 (patch)
tree4fbc0912fb59c13b719e46e4687d2d4137ad5ab5 /package
parentac13fc7961036b793148a430222395b69878e528 (diff)
downloadmaster-187ad058-ba23715886f29befaa94970b864c686d82ef1f71.tar.gz
master-187ad058-ba23715886f29befaa94970b864c686d82ef1f71.tar.bz2
master-187ad058-ba23715886f29befaa94970b864c686d82ef1f71.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47224 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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)