Skip to content

Commit

Permalink
[NET]: Kconfig: NETCONSOLE and NETPOLL together
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Jul 18, 2005
1 parent d1ad1ff commit 5420899
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 16 additions & 0 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2549,4 +2549,20 @@ config NETCONSOLE
If you want to log kernel messages over the network, enable this.
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
16 changes: 0 additions & 16 deletions net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -209,22 +209,6 @@ 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/irda/Kconfig"
source "net/bluetooth/Kconfig"
Expand Down

0 comments on commit 5420899

Please sign in to comment.