From 6a5fdf7fe298f2008cc7cb6a85d8e7fcfd92cc68 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 1 Jun 2014 09:40:23 -0600 Subject: [PATCH] Add CONFIG_NET_ETHERNET (not used yet) --- include/queue.h | 1 - net/Kconfig | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/include/queue.h b/include/queue.h index 88e049f4d59..91c2c8c661d 100644 --- a/include/queue.h +++ b/include/queue.h @@ -126,4 +126,3 @@ FAR dq_entry_t *dq_remfirst(FAR dq_queue_t *queue); #endif #endif /* __INCLUDE_QUEUE_H_ */ - diff --git a/net/Kconfig b/net/Kconfig index 3a9e842fe4c..2f4cb2a5233 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -369,6 +369,17 @@ config NET_MULTICAST ---help--- Outgoing multi-cast address support +# Select Transport (should be a choice) + +config NET_ETHERNET + bool + default y if !NET_SLIP + default n if NET_SLIP + ---help--- + If NET_SLIP is not selected, then Ethernet will be used (there is + no need to define anything special in the configuration file to use + Ethernet -- it is the default). + config NET_SLIP bool "SLIP support" default n