[LEDE-DEV] [RFC 05/26] kernel: tg3: deactivate hwmon for kernel 4.14
Hauke Mehrtens
hauke at hauke-m.de
Sun Nov 26 03:45:03 PST 2017
On kernel 4.14 hwmon support can be deactivated for the tg3 driver,
deactivate it by default to save some space on the brcm47xx platform.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/netdevices.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 3add0fdb50..20dafa2def 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -627,8 +627,9 @@ $(eval $(call KernelPackage,pcnet32))
define KernelPackage/tg3
TITLE:=Broadcom Tigon3 Gigabit Ethernet
- KCONFIG:=CONFIG_TIGON3
- DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +kmod-hwmon-core +kmod-ptp
+ KCONFIG:=CONFIG_TIGON3 \
+ CONFIG_TIGON3_HWMON=n
+ DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +!LINUX_4_14:kmod-hwmon-core +kmod-ptp
SUBMENU:=$(NETWORK_DEVICES_MENU)
FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
AUTOLOAD:=$(call AutoLoad,19,tg3,1)
--
2.11.0
More information about the Lede-dev
mailing list