* [PATCH net] net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y
@ 2015-08-04 19:25 Ian Campbell
2015-08-07 6:58 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Ian Campbell @ 2015-08-04 19:25 UTC (permalink / raw)
To: netdev
Cc: Ian Campbell, Sunil Goutham, Robert Richter, Derek Chickles,
Satanand Burla, Felix Manlunas, Raghu Vatsavayi, Arnd Bergmann,
linux-arm-kernel, linux-kernel
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".
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Cc: Sunil Goutham <sgoutham@cavium.com>
Cc: Robert Richter <rric@kernel.org>
Cc: Derek Chickles <derek.chickles@caviumnetworks.com>
Cc: Satanand Burla <satananda.burla@caviumnetworks.com>
Cc: Felix Manlunas <felix.manlunas@caviumnetworks.com>
Cc: Raghu Vatsavayi <raghu.vatsavayi@caviumnetworks.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/net/ethernet/cavium/Kconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ethernet/cavium/Kconfig b/drivers/net/ethernet/cavium/Kconfig
index 3584420..9b35d14 100644
--- a/drivers/net/ethernet/cavium/Kconfig
+++ b/drivers/net/ethernet/cavium/Kconfig
@@ -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---
--
2.1.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net] net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y
2015-08-04 19:25 [PATCH net] net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y Ian Campbell
@ 2015-08-07 6:58 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-08-07 6:58 UTC (permalink / raw)
To: ijc
Cc: netdev, sgoutham, rric, derek.chickles, satananda.burla,
felix.manlunas, raghu.vatsavayi, arnd, linux-arm-kernel,
linux-kernel
From: Ian Campbell <ijc@hellion.org.uk>
Date: Tue, 4 Aug 2015 20:25:55 +0100
> 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".
>
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-07 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 19:25 [PATCH net] net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y Ian Campbell
2015-08-07 6:58 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®