net: support NETCONSOLE option via Kconfig
authorBernhard Nortmann <bernhard.nortmann@web.de>
Mon, 14 Sep 2015 13:29:46 +0000 (15:29 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 30 Sep 2015 02:54:46 +0000 (21:54 -0500)
This patch introduces CONFIG_NETCONSOLE as an option to the
Kconfig system.

Joe Hershberger pointed out that it may not be entirely free of
problems, as many boards predating the driver model define this
symbol directly via include files. In case they're not properly
migrated, their NetConsole might 'vanish' if they start to use
CONFIG_NET or CONFIG_NETDEVICES.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/Kconfig

index 915371df91274f51701950a0ff0543cf887d8dda..77a2f7e07e012b75bd72f1b48cf1e37a0117f320 100644 (file)
@@ -16,4 +16,10 @@ config NET_RANDOM_ETHADDR
          A new MAC address will be generated on every boot and it will
          not be added to the environment.
 
+config NETCONSOLE
+       bool "NetConsole support"
+       help
+         Support the 'nc' input/output device for networked console.
+         See README.NetConsole for details.
+
 endif   # if NET