From: Philip Prindeville Date: Tue, 20 Dec 2016 20:26:48 +0000 (-0700) Subject: kernel: kmod packaging for Intel 10G ethernet ixgbe driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=22ee675f0450d42af6c336f0d81e023262dc48ed;p=openwrt%2Fstaging%2Fyousong.git 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 --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index d359ce7295..9d861d6bda 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 b2764e5f6b..6c9b03be1d 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))