net: thunderx: remove effective "default y" from Kconfig if ARCH_THUNDER=y
authorIan Campbell <[email protected]>
Tue, 4 Aug 2015 19:25:55 +0000 (20:25 +0100)
committerDavid S. Miller <[email protected]>
Fri, 7 Aug 2015 07:01:37 +0000 (00:01 -0700)
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 <[email protected]>
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: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/cavium/Kconfig

index c4d6bbe9458dbfe9c726fdff1e9b6c4c64b8a33f..02e23e6f142487ddc8cc2a8d4e2c512cb7e6db62 100644 (file)
@@ -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
        ---help---
          This driver supports programming and controlling of MAC
          interface from NIC physical function driver.