Commit 22f54bf9 authored by Ian Campbell's avatar Ian Campbell Committed by David S. Miller

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".
Signed-off-by: default avatarIan 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
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7ebc4822
...@@ -16,7 +16,6 @@ if NET_VENDOR_CAVIUM ...@@ -16,7 +16,6 @@ if NET_VENDOR_CAVIUM
config THUNDER_NIC_PF config THUNDER_NIC_PF
tristate "Thunder Physical function driver" tristate "Thunder Physical function driver"
depends on 64BIT depends on 64BIT
default ARCH_THUNDER
select THUNDER_NIC_BGX select THUNDER_NIC_BGX
---help--- ---help---
This driver supports Thunder's NIC physical function. This driver supports Thunder's NIC physical function.
...@@ -29,14 +28,12 @@ config THUNDER_NIC_PF ...@@ -29,14 +28,12 @@ config THUNDER_NIC_PF
config THUNDER_NIC_VF config THUNDER_NIC_VF
tristate "Thunder Virtual function driver" tristate "Thunder Virtual function driver"
depends on 64BIT depends on 64BIT
default ARCH_THUNDER
---help--- ---help---
This driver supports Thunder's NIC virtual function This driver supports Thunder's NIC virtual function
config THUNDER_NIC_BGX config THUNDER_NIC_BGX
tristate "Thunder MAC interface driver (BGX)" tristate "Thunder MAC interface driver (BGX)"
depends on 64BIT depends on 64BIT
default ARCH_THUNDER
---help--- ---help---
This driver supports programming and controlling of MAC This driver supports programming and controlling of MAC
interface from NIC physical function driver. interface from NIC physical function driver.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment