summaryrefslogtreecommitdiff
path: root/nuttx/net/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-15 08:22:51 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-15 08:22:51 -0600
commitb68b625556543fd9a9c9ba40ed5ca5c4b725f7ed (patch)
treeae5f590da1302541d30c3a26f4a9ffc7d599b338 /nuttx/net/Kconfig
parentc43a244ee4d243ab3429a39ed90408eeb02a864c (diff)
downloadpx4-nuttx-b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed.tar.gz
px4-nuttx-b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed.tar.bz2
px4-nuttx-b68b625556543fd9a9c9ba40ed5ca5c4b725f7ed.zip
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
Diffstat (limited to 'nuttx/net/Kconfig')
-rw-r--r--nuttx/net/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig
index 85b71c576..bb4d421a5 100644
--- a/nuttx/net/Kconfig
+++ b/nuttx/net/Kconfig
@@ -114,13 +114,18 @@ config NET_MULTICAST
---help---
Outgoing multi-cast address support
-# Select Transport (should be a choice)
+# Select Data Link
+
+config NET_MULTILINK
+ bool
+ default n
config NET_ETHERNET
bool
default y if !NET_SLIP
default n if NET_SLIP
select NETDEV_MULTINIC if NET_SLIP
+ select NET_MULTILINK 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
@@ -130,6 +135,7 @@ config NET_SLIP
bool "SLIP support"
default n
select NETDEV_MULTINIC if NET_ETHERNET
+ select NET_MULTILINK if NET_ETHERNET
---help---
Enables building of the SLIP driver. SLIP requires
at least one IP protocol selected and the following additional