Skip to contentSkip to conversation

net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y

PATCH Applied Ian Campbell 2 participants 2 messages Aug 4, 2015 – Aug 7, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y

As well as for kernels built only for ThunderX ARCH_THUNDERX is also enabled for kernels which support multiple platforms (such as distro kernels). Thus "default ARCH_THUNDER" is inappropriate.

I believe default m is equally frowned upon, so remove the line completely rather than "default m if ARCH_THUNDER".

Cc Sunil Goutham <[email protected]>
Cc Robert Richter <[email protected]>
Cc Derek Chickles <[email protected]>
Cc Satanand Burla <[email protected]>
Cc Felix Manlunas <[email protected]>
Cc Raghu Vatsavayi <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc linux-arm-kernel at lists.infradead.org
Cc netdev at vger.kernel.org
Cc linux-kernel at vger.kernel.org
---
 drivers/net/ethernet/cavium/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
drivers/net/ethernet/cavium/Kconfig +0 -3
index 3584420..9b35d14 100644
@@ -16,7 +16,6 @@ if NET_VENDOR_CAVIUM
 config THUNDER_NIC_PF
 	tristate "Thunder Physical function driver"
 	depends on 64BIT
-	default ARCH_THUNDER
 	select THUNDER_NIC_BGX
 	---help---
 	  This driver supports Thunder's NIC physical function.
@@ -29,14 +28,12 @@ config THUNDER_NIC_PF
 config THUNDER_NIC_VF
 	tristate "Thunder Virtual function driver"
 	depends on 64BIT
-	default ARCH_THUNDER
 	---help---
 	  This driver supports Thunder's NIC virtual function
 
 config	THUNDER_NIC_BGX
 	tristate "Thunder MAC interface driver (BGX)"
 	depends on 64BIT
-	default ARCH_THUNDER
 	select PHYLIB
 	select MDIO_OCTEON
 	---help---
Signature · 1 line
2.1.4
maintainer Applied
#1 lore raw

From: Ian Campbell <[email protected]>
Date: Tue, 4 Aug 2015 20:25:55 +0100

Quoted 8 lines

As well as for kernels built only for ThunderX ARCH_THUNDERX is also enabled for kernels which support multiple platforms (such as distro kernels). Thus "default ARCH_THUNDER" is inappropriate.

I believe default m is equally frowned upon, so remove the line completely rather than "default m if ARCH_THUNDER".

Applied.