aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2016-12-20 13:26:48 -0700
committerJohn Crispin <john@phrozen.org>2017-03-29 08:00:14 +0200
commit22ee675f0450d42af6c336f0d81e023262dc48ed (patch)
tree00e80c4495ed34fe39fe64b6d9145b7e9da53d0c
parent8fb39f168249f15697ab930245ad08ea66a1b926 (diff)
downloadupstream-22ee675f0450d42af6c336f0d81e023262dc48ed.tar.gz
upstream-22ee675f0450d42af6c336f0d81e023262dc48ed.tar.bz2
upstream-22ee675f0450d42af6c336f0d81e023262dc48ed.zip
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@redfish-solutions.com>
-rw-r--r--package/kernel/linux/modules/netdevices.mk19
-rw-r--r--package/kernel/linux/modules/netsupport.mk16
2 files changed, 35 insertions, 0 deletions
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))