summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-12 15:34:05 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2017-12-16 22:11:58 +0100
commitefd185405022d3dc0f3a0e2c41722be9d04c48e7 (patch)
tree3110290c0df40e146a2f452b7f1d140cd959a93b /package/kernel/linux/modules/netdevices.mk
parentb3f95490b9bec020314eb32016988ee262d52884 (diff)
downloadmtk-20170518-efd185405022d3dc0f3a0e2c41722be9d04c48e7.zip
mtk-20170518-efd185405022d3dc0f3a0e2c41722be9d04c48e7.tar.gz
mtk-20170518-efd185405022d3dc0f3a0e2c41722be9d04c48e7.tar.bz2
kernel: tg3: deactivate hwmon for kernel 4.14
In kernel 4.14 hwmon support can be deactivated for the tg3 driver, deactivate it by default to save some space. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 42b7a8e..a9740ef 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -646,8 +646,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)