Skip to contentSkip to conversation

net: ethernet: aquantia: default to no in config

PATCH In review Vito Caputo 3 participants 5 messages Sep 19, 2017 – Sep 20, 2017

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

PATCH 1/1 net: ethernet: aquantia: default to no in config

NET_VENDOR_AQUANTIA was "default y" for some reason, which seems obviously inappropriate.

---
 drivers/net/ethernet/aquantia/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/aquantia/Kconfig +1 -1
index cdf78e069a39..6167b13cf349 100644
@@ -4,7 +4,7 @@
 
 config NET_VENDOR_AQUANTIA
 	bool "aQuantia devices"
-	default y
+	default n
 	---help---
 	  Set this to y if you have an Ethernet network cards that uses the aQuantia
 	  AQC107/AQC108 chipset.
Signature · 1 line
2.11.0
maintainer
#1 lore raw

From: Vito Caputo <[email protected]>
Date: Tue, 19 Sep 2017 15:43:15 -0700

Quoted 2 lines

NET_VENDOR_AQUANTIA was "default y" for some reason, which seems obviously inappropriate.

It is appropriate.

We make all vendor guards default to yes.

#2 lore raw
Quoted 9 lines · David Miller

From: Vito Caputo <[email protected]>
Date: Tue, 19 Sep 2017 15:43:15 -0700

Quoted 2 lines

NET_VENDOR_AQUANTIA was "default y" for some reason, which seems obviously inappropriate.

It is appropriate.

We make all vendor guards default to yes.

Thanks for the quick response.

Out of curiosity, what's the rationale for that decision?

maintainer
#3 lore raw

From: [email protected]
Date: Tue, 19 Sep 2017 16:02:49 -0700

Quoted 1 line

Out of curiosity, what's the rationale for that decision?

So that you don't need to know what special vendor knob needs to be switched in order to even be offered the config knob for the driver you are interested in.

#4 lore raw
In reply to Vito Caputo

Hello!

Quoted 11 lines · Vito Caputo

NET_VENDOR_AQUANTIA was "default y" for some reason, which seems obviously inappropriate.

---
  drivers/net/ethernet/aquantia/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/aquantia/Kconfig +0 -0
index cdf78e069a39..6167b13cf349 100644

drivers/net/ethernet/aquantia/Kconfig line 7

Quoted 5 lines
drivers/net/ethernet/aquantia/Kconfig +1 -1
@@ -4,7 +4,7 @@
 
  config NET_VENDOR_AQUANTIA
  	bool "aQuantia devices"
-	default y
+	default n

Just remove it -- 'n' is the default default. :-)

[...]

MBR, Sergei