2016-12-06 17:17:01 +08:00
|
|
|
# Kconfig - Ethernet drivers configuration options
|
2015-10-27 07:38:13 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-27 07:38:13 +08:00
|
|
|
#
|
|
|
|
|
2016-12-20 18:30:40 +08:00
|
|
|
menu "Ethernet Drivers"
|
|
|
|
|
2016-07-20 22:33:07 +08:00
|
|
|
config SYS_LOG_ETHERNET_LEVEL
|
2016-05-08 03:50:27 +08:00
|
|
|
int
|
2016-10-03 21:21:31 +08:00
|
|
|
prompt "Ethernet driver log level"
|
2016-12-06 17:18:34 +08:00
|
|
|
depends on SYS_LOG && NET_L2_ETHERNET
|
2016-05-08 03:50:27 +08:00
|
|
|
default 0
|
|
|
|
range 0 4
|
|
|
|
help
|
2016-07-20 22:33:07 +08:00
|
|
|
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 adition to previous level
|
|
|
|
3 INFO, write SYS_LOG_INF in adition to previous levels
|
|
|
|
4 DEBUG, write SYS_LOG_DBG in adition to previous levels
|
2016-05-08 03:50:27 +08:00
|
|
|
|
2016-11-19 06:22:05 +08:00
|
|
|
config ETH_INIT_PRIORITY
|
|
|
|
int
|
|
|
|
prompt "Ethernet driver init priority"
|
|
|
|
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.
|
|
|
|
|
2016-07-09 03:52:03 +08:00
|
|
|
source "drivers/ethernet/Kconfig.enc28j60"
|
2017-01-03 04:03:19 +08:00
|
|
|
source "drivers/ethernet/Kconfig.mcux"
|
2016-12-06 17:17:01 +08:00
|
|
|
source "drivers/ethernet/Kconfig.dw"
|
2016-12-24 10:58:38 +08:00
|
|
|
source "drivers/ethernet/Kconfig.sam_gmac"
|
2016-12-20 18:30:40 +08:00
|
|
|
|
|
|
|
endmenu
|