summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/Kconfig
diff options
context:
space:
mode:
authorFlorian Fainelli2017-03-06 21:56:02 +0100
committerDavid S. Miller2017-03-09 22:03:00 +0100
commit038e893d78037b5876771f84722b459b3916bfaf (patch)
tree575a1e71c5aa21cde21a1f20e8982f7e39f2959c /drivers/net/ethernet/broadcom/Kconfig
parentMerge branch 'mvpp2-add-initial-support-for-PPv2.2' (diff)
downloadkernel-qcow2-linux-038e893d78037b5876771f84722b459b3916bfaf.tar.gz
kernel-qcow2-linux-038e893d78037b5876771f84722b459b3916bfaf.tar.xz
kernel-qcow2-linux-038e893d78037b5876771f84722b459b3916bfaf.zip
tg3: Add the ability to conditionally build w/ HWMON
Introduce a Kconfig option: CONFIG_TIGON3_HWMON which allows to build in/out support for thermal sensors reported by Tigon3 NICs. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
-rw-r--r--drivers/net/ethernet/broadcom/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig
index 940fb24bba21..96413808c726 100644
--- a/drivers/net/ethernet/broadcom/Kconfig
+++ b/drivers/net/ethernet/broadcom/Kconfig
@@ -109,7 +109,6 @@ config TIGON3
tristate "Broadcom Tigon3 support"
depends on PCI
select PHYLIB
- select HWMON
imply PTP_1588_CLOCK
---help---
This driver supports Broadcom Tigon3 based gigabit Ethernet cards.
@@ -117,6 +116,13 @@ config TIGON3
To compile this driver as a module, choose M here: the module
will be called tg3. This is recommended.
+config TIGON3_HWMON
+ bool "Broadcom Tigon3 HWMON support"
+ default y
+ depends on TIGON3 && HWMON && !(TIGON3=y && HWMON=m)
+ ---help---
+ Say Y if you want to expose the thermal sensor on Tigon3 devices.
+
config BNX2X
tristate "Broadcom NetXtremeII 10Gb support"
depends on PCI