diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2018-01-23 19:00:11 -0700 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-01-29 12:15:41 +0100 |
commit | b81b18b5a46204f0b6539ee68c5ae7c1493668b3 (patch) | |
tree | 065eb0a8c01886226298863f75584a28c646583d /package/kernel | |
parent | d76ad1dc79a65990deb893736e738698eb30b7e7 (diff) | |
download | upstream-b81b18b5a46204f0b6539ee68c5ae7c1493668b3.tar.gz upstream-b81b18b5a46204f0b6539ee68c5ae7c1493668b3.tar.bz2 upstream-b81b18b5a46204f0b6539ee68c5ae7c1493668b3.zip |
netdevices.mk: add hwmon to IGB and IXGBE drivers
Off-chip NICs can run hotter than the CPU, so they're definitely
worth instrumenting.
Adding hardware monitoring increases by ~3744 and ~2672 bytes,
respectively, the sizes of the igb.ko and ixgbe.ko drivers.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index a9740ef35a..6b4c186dc6 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -521,7 +521,7 @@ define KernelPackage/igb TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp KCONFIG:=CONFIG_IGB \ - CONFIG_IGB_HWMON=n \ + CONFIG_IGB_HWMON=y \ CONFIG_IGB_DCA=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko AUTOLOAD:=$(call AutoLoad,35,igb) @@ -539,7 +539,7 @@ define KernelPackage/igbvf TITLE:=Intel(R) 82576 Virtual Function Ethernet support DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp KCONFIG:=CONFIG_IGBVF \ - CONFIG_IGB_HWMON=n \ + CONFIG_IGB_HWMON=y \ CONFIG_IGB_DCA=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igbvf/igbvf.ko AUTOLOAD:=$(call AutoLoad,35,igbvf) @@ -558,7 +558,7 @@ define KernelPackage/ixgbe DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp KCONFIG:=CONFIG_IXGBE \ CONFIG_IXGBE_VXLAN=n \ - CONFIG_IXGBE_HWMON=n \ + CONFIG_IXGBE_HWMON=y \ CONFIG_IXGBE_DCA=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbe/ixgbe.ko AUTOLOAD:=$(call AutoLoad,35,ixgbe) @@ -577,7 +577,7 @@ define KernelPackage/ixgbevf DEPENDS:=@PCI_SUPPORT +kmod-ixgbe KCONFIG:=CONFIG_IXGBEVF \ CONFIG_IXGBE_VXLAN=n \ - CONFIG_IXGBE_HWMON=n \ + CONFIG_IXGBE_HWMON=y \ CONFIG_IXGBE_DCA=n FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko AUTOLOAD:=$(call AutoLoad,35,ixgbevf) |