zephyr/subsys/net/l2/ethernet
Tomasz Bursztyka c8f7c329a2 net/lldp: Simplify Kconfig file
Let's remove depends on NET_LLDP from all the options. It avoids this:
 # CONFIG_NET_LLDP is not set
 # CONFIG_NET_LLDP_LOG_LEVEL_OFF is not set
 # CONFIG_NET_LLDP_LOG_LEVEL_ERR is not set
 # CONFIG_NET_LLDP_LOG_LEVEL_WRN is not set
 # CONFIG_NET_LLDP_LOG_LEVEL_INF is not set
 # CONFIG_NET_LLDP_LOG_LEVEL_DBG is not set
 CONFIG_NET_LLDP_LOG_LEVEL_DEFAULT=y
 CONFIG_NET_LLDP_LOG_LEVEL=3
 CONFIG_NET_LLDP_CHASSIS_ID="CHASSIS_ID_PLACEHOLDER"
 CONFIG_NET_LLDP_PORT_ID="PORT_ID_PLACEHOLDER"

And instead it will generate this:
 # CONFIG_NET_LLDP is not set

Make the menu as an enablement config option as well.

Adapting lldp header file relevantly.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-07-10 15:24:32 +03:00
..
gptp gptp: don't cast pointers to ints 2019-06-25 10:18:20 +03:00
lldp net/lldp: Simplify Kconfig file 2019-07-10 15:24:32 +03:00
arp.c net/arp: No need of 64bits timer precision on ARP requests 2019-05-23 22:22:16 +03:00
arp.h cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
eth_stats.h net: ethernet: Add helper functions to update error stats. 2018-12-04 09:36:51 -06:00
ethernet_mgmt.c net: Check device driver API pointer 2019-05-07 15:41:15 +03:00
ethernet_stats.c net: Check device driver API pointer 2019-05-07 15:41:15 +03:00
ethernet.c net/ethernet: Cleanup a bit on the usage of ifdefs 2019-07-10 15:24:32 +03:00
Kconfig net: app: Remove net-app API files 2019-02-01 12:29:21 +02:00