net: slip: Clarify slip settings in Kconfig

As SLIP TAP is now the default after the commit ca0ad13a61
("net: enable SLIP only on QEMU targets"), clarify the comments
and settings in various Kconfig files that talk about slip.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2017-07-27 14:09:11 +03:00
parent 732424f065
commit 6bb446ed8e
3 changed files with 10 additions and 10 deletions

View file

@ -71,11 +71,10 @@ config SLIP_STATISTICS
config SLIP_TAP config SLIP_TAP
bool "Use TAP interface to host" bool "Use TAP interface to host"
default n default y
select NET_L2_ETHERNET select NET_L2_ETHERNET
help help
By default TUN is used. In TAP the Ethernet frames In TAP the Ethernet frames are transferred over SLIP.
are transferred over SLIP.
config SLIP_MAC_ADDR config SLIP_MAC_ADDR

View file

@ -255,9 +255,10 @@ config NET_SLIP_TAP
default n default n
default y if (QEMU_TARGET && !NET_TEST && !NET_L2_BLUETOOTH) default y if (QEMU_TARGET && !NET_TEST && !NET_L2_BLUETOOTH)
help help
SLIP TAP support is necessary when testing IPv4/ARP. The host SLIP TAP support is necessary when testing with QEMU. The host
needs to have tunslip with TAP support running in order to needs to have tunslip6 with TAP support running in order to
communicate via the SLIP driver. communicate via the SLIP driver. See net-tools project at
https://github.com/zephyrproject-rtos/net-tools for more details.
config NET_TRICKLE config NET_TRICKLE
bool "Enable Trickle library" bool "Enable Trickle library"

View file

@ -11,16 +11,16 @@ config NET_L2_DUMMY
default n default n
default y if !NET_L2_ETHERNET && NET_TEST default y if !NET_L2_ETHERNET && NET_TEST
help help
Add a dummy L2 layer driver, usually in case you need SLIP in Add a dummy L2 layer driver. This is usually only needed when
TUN mode. simulating a network interface when running network stack inside QEMU.
config NET_L2_ETHERNET config NET_L2_ETHERNET
bool "Enable Ethernet support" bool "Enable Ethernet support"
default n default n
help help
Add support for Ethernet, enabling selecting relevant hardware drivers. Add support for Ethernet, enabling selecting relevant hardware drivers.
If SLIP_TAP is selected, NET_L2_ETHERNET will enable to fully simulate If NET_SLIP_TAP is selected, NET_L2_ETHERNET will enable to fully
Ethernet through SLIP. simulate Ethernet through SLIP.
config NET_DEBUG_L2_ETHERNET config NET_DEBUG_L2_ETHERNET
bool "Debug Ethernet L2 layer" bool "Debug Ethernet L2 layer"