2019-11-01 13:45:29 +01:00
|
|
|
# Ethernet drivers configuration options
|
2015-10-26 16:38:13 -07:00
|
|
|
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
2017-01-18 17:01:01 -08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-10-26 16:38:13 -07:00
|
|
|
|
2022-08-11 09:10:41 -05:00
|
|
|
menuconfig ETH_DRIVER
|
2023-03-27 14:55:23 +02:00
|
|
|
bool "Ethernet drivers"
|
2024-03-11 11:18:18 +01:00
|
|
|
depends on NETWORKING
|
2024-02-07 11:50:06 +02:00
|
|
|
depends on !NET_TEST
|
2024-03-11 11:18:18 +01:00
|
|
|
default y if NET_L2_ETHERNET
|
2016-12-20 10:30:40 +00:00
|
|
|
|
2022-08-11 09:10:41 -05:00
|
|
|
if ETH_DRIVER
|
|
|
|
|
2024-03-11 11:18:18 +01:00
|
|
|
config ETH_DRIVER_RAW_MODE
|
|
|
|
bool "Ethernet driver without the MAC stack"
|
|
|
|
select NET_RAW_MODE
|
|
|
|
depends on !NET_L2_ETHERNET
|
|
|
|
help
|
|
|
|
This option enables using the drivers in a so-called "raw" mode,
|
|
|
|
i.e. without a MAC stack (the net L2 layer for ethernet will not
|
|
|
|
be built).
|
|
|
|
|
2018-10-05 15:14:58 +03:00
|
|
|
module = ETHERNET
|
|
|
|
module-dep = LOG
|
|
|
|
module-str = Log level for Ethernet driver
|
|
|
|
module-help = Sets log level for Ethernet Device Drivers.
|
2018-07-09 12:51:28 +03:00
|
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
2016-05-07 15:50:27 -04:00
|
|
|
|
2020-02-21 15:41:55 +02:00
|
|
|
config ETH_QEMU_IFACE_NAME
|
|
|
|
string "Network interface name for QEMU"
|
|
|
|
default "zeth"
|
|
|
|
depends on NET_QEMU_ETHERNET
|
|
|
|
help
|
|
|
|
The network interface name for QEMU. This value is given as
|
|
|
|
a parameter to -nic qemu command line option. The network
|
|
|
|
interface must be created before starting QEMU. The net-setup.sh
|
|
|
|
script from net-tools project can be used to create the network
|
|
|
|
interface.
|
|
|
|
|
2020-05-08 15:25:03 +03:00
|
|
|
config ETH_QEMU_EXTRA_ARGS
|
|
|
|
string "Extra arguments to QEMU -nic option"
|
|
|
|
depends on NET_QEMU_ETHERNET
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Extra arguments passed to QEMU -nic option when Ethernet Networking
|
|
|
|
is enabled. Typically this is used to set the network MAC address of
|
|
|
|
Zephyr instance. This option can contain multiple QEMU option
|
|
|
|
arguments. Each QEMU argument must be separated by comma "," and no
|
|
|
|
spaces between arguments. Example: "mac=02:03:04:f0:0d:01" or
|
|
|
|
"mac=02:03:04:f0:0d:01,downscript=no"
|
|
|
|
|
2016-07-08 14:52:03 -05:00
|
|
|
source "drivers/ethernet/Kconfig.enc28j60"
|
2019-08-16 00:57:20 +02:00
|
|
|
source "drivers/ethernet/Kconfig.enc424j600"
|
2022-09-20 19:52:18 +12:00
|
|
|
source "drivers/ethernet/Kconfig.esp32"
|
2017-01-02 14:03:19 -06:00
|
|
|
source "drivers/ethernet/Kconfig.mcux"
|
2018-07-31 12:44:34 +03:00
|
|
|
source "drivers/ethernet/Kconfig.e1000"
|
2016-12-24 03:58:38 +01:00
|
|
|
source "drivers/ethernet/Kconfig.sam_gmac"
|
2017-06-23 13:03:51 +02:00
|
|
|
source "drivers/ethernet/Kconfig.stm32_hal"
|
2021-09-07 23:56:31 -04:00
|
|
|
source "drivers/ethernet/Kconfig.dwmac"
|
2019-01-10 18:52:13 +02:00
|
|
|
source "drivers/ethernet/Kconfig.smsc911x"
|
2018-02-21 16:18:35 +02:00
|
|
|
source "drivers/ethernet/Kconfig.native_posix"
|
2018-09-19 15:21:47 +05:30
|
|
|
source "drivers/ethernet/Kconfig.stellaris"
|
2019-07-10 07:57:52 +02:00
|
|
|
source "drivers/ethernet/Kconfig.liteeth"
|
2019-11-29 21:34:31 +01:00
|
|
|
source "drivers/ethernet/Kconfig.gecko"
|
2020-09-02 10:36:48 +02:00
|
|
|
source "drivers/ethernet/Kconfig.w5500"
|
2020-04-13 10:23:43 +02:00
|
|
|
source "drivers/ethernet/Kconfig.dsa"
|
2021-05-17 16:05:57 +02:00
|
|
|
source "drivers/ethernet/Kconfig.xlnx_gem"
|
2022-08-22 11:13:54 +01:00
|
|
|
source "drivers/ethernet/Kconfig.cyclonev"
|
2023-07-07 14:07:09 -03:00
|
|
|
source "drivers/ethernet/Kconfig.nxp_s32_netc"
|
|
|
|
source "drivers/ethernet/Kconfig.nxp_s32_gmac"
|
2023-02-09 15:25:32 +08:00
|
|
|
source "drivers/ethernet/Kconfig.smsc91x"
|
2023-04-30 14:39:34 +12:00
|
|
|
source "drivers/ethernet/Kconfig.ivshmem"
|
2023-05-12 14:49:53 +02:00
|
|
|
source "drivers/ethernet/Kconfig.adin2111"
|
2023-10-25 19:39:30 +08:00
|
|
|
source "drivers/ethernet/Kconfig.numaker"
|
2023-10-06 16:59:42 +02:00
|
|
|
source "drivers/ethernet/Kconfig.lan865x"
|
2023-07-24 14:06:43 -05:00
|
|
|
source "drivers/ethernet/Kconfig.nxp_enet"
|
2023-12-19 09:56:37 -05:00
|
|
|
source "drivers/ethernet/Kconfig.xmc4xxx"
|
2016-12-20 10:30:40 +00:00
|
|
|
|
2024-03-01 14:33:38 -06:00
|
|
|
source "drivers/ethernet/eth_nxp_enet_qos/Kconfig"
|
|
|
|
|
2021-05-02 21:06:30 -04:00
|
|
|
source "drivers/ethernet/phy/Kconfig"
|
|
|
|
|
2022-08-11 09:10:41 -05:00
|
|
|
endif # "Ethernet Drivers"
|
|
|
|
|
|
|
|
config ETH_INIT_PRIORITY
|
|
|
|
int "Ethernet driver init priority"
|
|
|
|
default 80
|
2024-03-11 11:18:18 +01:00
|
|
|
depends on NET_L2_ETHERNET || ETH_DRIVER
|
2022-08-11 09:10:41 -05:00
|
|
|
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.
|