From 822061a3d012c12c0957b02dbd7105da161d1118 Mon Sep 17 00:00:00 2001 From: Kazuya Hioki Date: Mon, 20 Jul 2020 11:15:32 +0900 Subject: [PATCH] net: Fix dupulicated NET_USRSOCK in Kconfig Reviewed-by: Masayuki Ishikawa Signed-off-by: Kazuya Hioki --- net/Kconfig | 17 ----------------- net/usrsock/Kconfig | 11 +++++++++++ 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/net/Kconfig b/net/Kconfig index 80fe919003..67d4292b1e 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -231,23 +231,6 @@ config NET_TUN_PKTSIZE endif # NET_TUN -config NET_USRSOCK - bool "User-space networking stack API" - default n - ---help--- - Enable or disable user-space networking stack support. - - User-space networking stack API allows user-space daemon to - provide TCP/IP stack implementation for NuttX network. - - Main use for this is to allow use and integration of - HW-provided TCP/IP stacks for NuttX. - - For example, user-space daemon can translate /dev/usrsock API - requests to HW TCP/IP API requests while rest of the user-space - can access standard socket API, with socket descriptors that - can be used with NuttX system calls. - config NETDEV_LATEINIT bool "Late driver initialization" default n diff --git a/net/usrsock/Kconfig b/net/usrsock/Kconfig index a8b1a195b4..d56bdd2cb4 100644 --- a/net/usrsock/Kconfig +++ b/net/usrsock/Kconfig @@ -12,6 +12,17 @@ config NET_USRSOCK ---help--- Enable or disable user-space networking stack support. + User-space networking stack API allows user-space daemon to + provide TCP/IP stack implementation for NuttX network. + + Main use for this is to allow use and integration of + HW-provided TCP/IP stacks for NuttX. + + For example, user-space daemon can translate /dev/usrsock API + requests to HW TCP/IP API requests while rest of the user-space + can access standard socket API, with socket descriptors that + can be used with NuttX system calls. + if NET_USRSOCK config NET_USRSOCK_CONNS