mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-15 12:15:22 +00:00
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# Kconfig - Ethernet drivers configuration options
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menu "Ethernet Drivers"
|
|
|
|
config SYS_LOG_ETHERNET_LEVEL
|
|
int "Ethernet driver log level"
|
|
depends on SYS_LOG && NET_L2_ETHERNET
|
|
default 0
|
|
range 0 4
|
|
help
|
|
Sets log level for Ethernet Device Drivers.
|
|
Levels are:
|
|
0 OFF, do not write
|
|
1 ERROR, only write SYS_LOG_ERR
|
|
2 WARNING, write SYS_LOG_WRN in addition to previous level
|
|
3 INFO, write SYS_LOG_INF in addition to previous levels
|
|
4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
|
|
|
config ETH_INIT_PRIORITY
|
|
int "Ethernet driver init priority"
|
|
depends on NET_L2_ETHERNET
|
|
default 80
|
|
help
|
|
Ethernet device driver initialization priority.
|
|
Do not mess with it unless you know what you are doing.
|
|
Note that the priority needs to be lower than the net stack
|
|
so that it can start before the networking sub-system.
|
|
|
|
source "drivers/ethernet/Kconfig.enc28j60"
|
|
source "drivers/ethernet/Kconfig.mcux"
|
|
source "drivers/ethernet/Kconfig.dw"
|
|
source "drivers/ethernet/Kconfig.sam_gmac"
|
|
source "drivers/ethernet/Kconfig.stm32_hal"
|
|
source "drivers/ethernet/Kconfig.native_posix"
|
|
|
|
endmenu
|