summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorGeorge Amanakis <g_amanakis@yahoo.com>2017-01-01 22:38:46 -0500
committerJo-Philipp Wich <jo@mein.io>2017-01-02 16:47:59 +0100
commit5639e45614ece107b99c2989fd002a1e69547fd5 (patch)
treed74ed6f7513e2b7f8f2b82368e794ae086cdf487 /package/kernel/linux/modules/netdevices.mk
parent321aca6661cdcaf99af2896463d3eb19b4b84242 (diff)
downloadmtk-20170518-5639e45614ece107b99c2989fd002a1e69547fd5.zip
mtk-20170518-5639e45614ece107b99c2989fd002a1e69547fd5.tar.gz
mtk-20170518-5639e45614ece107b99c2989fd002a1e69547fd5.tar.bz2
generic: package Broadcom BNX2 driver
bnx2 driver support for the x86 architecture. Includes module and firmware for Broadcom BCM5706/5708/5709/5716 ethernet adapters. Signed-off-by: George Amanakis <g_amanakis@yahoo.com>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 9145df3..8be6453 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -902,3 +902,19 @@ define KernelPackage/ethoc/description
endef
$(eval $(call KernelPackage,ethoc))
+
+
+define KernelPackage/bnx2
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=BCM5706/5708/5709/5716 ethernet adapter driver
+ DEPENDS:=@PCI_SUPPORT +bnx2-firmware
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnx2.ko
+ KCONFIG:=CONFIG_BNX2
+ AUTOLOAD:=$(call AutoProbe,bnx2)
+endef
+
+define KernelPackage/bnx2/description
+ Kernel module for the BCM5706/5708/5709/5716 ethernet adapter
+endef
+
+$(eval $(call KernelPackage,bnx2))