[source] kernel: kmod packaging for Intel 10G ethernet ixgbe driver

LEDE Commits lede-commits at lists.infradead.org
Wed Mar 29 00:05:45 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/22ee675f0450d42af6c336f0d81e023262dc48ed

commit 22ee675f0450d42af6c336f0d81e023262dc48ed
Author: Philip Prindeville <philipp at redfish-solutions.com>
AuthorDate: Tue Dec 20 13:26:48 2016 -0700

    kernel: kmod packaging for Intel 10G ethernet ixgbe driver
    
    A lot of Ivybridge and Haswell servers have the 82598/82599 Ethernet
    controllers.
    
    Signed-off-by: Philip Prindeville <philipp at redfish-solutions.com>
---
 package/kernel/linux/modules/netdevices.mk | 19 +++++++++++++++++++
 package/kernel/linux/modules/netsupport.mk | 16 ++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index d359ce7..9d861d6 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -522,6 +522,25 @@ endef
 $(eval $(call KernelPackage,igb))
 
 
+define KernelPackage/ixgbe
+  SUBMENU:=$(NETWORK_DEVICES_MENU)
+  TITLE:=Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet support
+  DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp
+  KCONFIG:=CONFIG_IXGBE \
+    CONFIG_IXGBE_VXLAN=n \
+    CONFIG_IXGBE_HWMON=n \
+    CONFIG_IXGBE_DCA=n
+  FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
+  AUTOLOAD:=$(call AutoLoad,35,ixgbe)
+endef
+
+define KernelPackage/ixgbe/description
+ Kernel modules for Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,ixgbe))
+
+
 define KernelPackage/b44
   TITLE:=Broadcom 44xx driver
   KCONFIG:=CONFIG_B44
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index b2764e5..6c9b03b 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -993,3 +993,19 @@ define KernelPackage/nlmon/description
 endef
 
 $(eval $(call KernelPackage,nlmon))
+
+
+define KernelPackage/mdio
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=MDIO (clause 45) PHY support
+  KCONFIG:=CONFIG_MDIO
+  HIDDEN:=1
+  FILES:=$(LINUX_DIR)/drivers/net/mdio.ko
+  AUTOLOAD:=$(call AutoLoad,32,mdio)
+endef
+
+define KernelPackage/mdio/description
+ Kernel modules for MDIO (clause 45) PHY support
+endef
+
+$(eval $(call KernelPackage,mdio))



More information about the lede-commits mailing list