Эх сурвалжийг харах

[NET]: Kconfig: NETCONSOLE and NETPOLL together

Put NETCONSOLE and NETPOLL options together since they are related.
This cuts down on the hassle of flipping back and forth between
the Networking menu and the Network drivers menu to change their
config settings.

Tested with menuconfig, gconfig, and xconfig.
gconfig has a small problem with this.  I think that it's
a bug in gconfig and I will take it up with Romain Lievin.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Randy Dunlap 20 жил өмнө
parent
commit
54208991e1
2 өөрчлөгдсөн 16 нэмэгдсэн , 16 устгасан
  1. 16 0
      drivers/net/Kconfig
  2. 0 16
      net/Kconfig

+ 16 - 0
drivers/net/Kconfig

@@ -2549,4 +2549,20 @@ config NETCONSOLE
 	If you want to log kernel messages over the network, enable this.
 	If you want to log kernel messages over the network, enable this.
 	See <file:Documentation/networking/netconsole.txt> for details.
 	See <file:Documentation/networking/netconsole.txt> for details.
 
 
+config NETPOLL
+	def_bool NETCONSOLE
+
+config NETPOLL_RX
+	bool "Netpoll support for trapping incoming packets"
+	default n
+	depends on NETPOLL
+
+config NETPOLL_TRAP
+	bool "Netpoll traffic trapping"
+	default n
+	depends on NETPOLL
+
+config NET_POLL_CONTROLLER
+	def_bool NETPOLL
+
 endmenu
 endmenu

+ 0 - 16
net/Kconfig

@@ -209,22 +209,6 @@ endmenu
 
 
 endmenu
 endmenu
 
 
-config NETPOLL
-	def_bool NETCONSOLE
-
-config NETPOLL_RX
-	bool "Netpoll support for trapping incoming packets"
-	default n
-	depends on NETPOLL
-
-config NETPOLL_TRAP
-	bool "Netpoll traffic trapping"
-	default n
-	depends on NETPOLL
-
-config NET_POLL_CONTROLLER
-	def_bool NETPOLL
-
 source "net/ax25/Kconfig"
 source "net/ax25/Kconfig"
 source "net/irda/Kconfig"
 source "net/irda/Kconfig"
 source "net/bluetooth/Kconfig"
 source "net/bluetooth/Kconfig"