2019-11-01 20:45:29 +08:00
|
|
|
# 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
|
|
|
|
2022-08-11 22:10:41 +08:00
|
|
|
menuconfig ETH_DRIVER
|
2023-03-27 20:55:23 +08:00
|
|
|
bool "Ethernet drivers"
|
2024-03-11 18:18:18 +08:00
|
|
|
depends on NETWORKING
|
2024-02-07 17:50:06 +08:00
|
|
|
depends on !NET_TEST
|
2024-03-11 18:18:18 +08:00
|
|
|
default y if NET_L2_ETHERNET
|
2016-12-20 18:30:40 +08:00
|
|
|
|
2022-08-11 22:10:41 +08:00
|
|
|
if ETH_DRIVER
|
|
|
|
|
2024-03-11 18:18:18 +08: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 20:14:58 +08: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 17:51:28 +08:00
|
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
2016-05-08 03:50:27 +08:00
|
|
|
|
2020-02-21 21:41:55 +08: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 20:25:03 +08: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-09 03:52:03 +08:00
|
|
|
source "drivers/ethernet/Kconfig.enc28j60"
|
2019-08-16 06:57:20 +08:00
|
|
|
source "drivers/ethernet/Kconfig.enc424j600"
|
2022-09-20 15:52:18 +08:00
|
|
|
source "drivers/ethernet/Kconfig.esp32"
|
2018-07-31 17:44:34 +08:00
|
|
|
source "drivers/ethernet/Kconfig.e1000"
|
2016-12-24 10:58:38 +08:00
|
|
|
source "drivers/ethernet/Kconfig.sam_gmac"
|
2017-06-23 19:03:51 +08:00
|
|
|
source "drivers/ethernet/Kconfig.stm32_hal"
|
2021-09-08 11:56:31 +08:00
|
|
|
source "drivers/ethernet/Kconfig.dwmac"
|
2019-01-11 00:52:13 +08:00
|
|
|
source "drivers/ethernet/Kconfig.smsc911x"
|
2018-02-21 22:18:35 +08:00
|
|
|
source "drivers/ethernet/Kconfig.native_posix"
|
2018-09-19 17:51:47 +08:00
|
|
|
source "drivers/ethernet/Kconfig.stellaris"
|
2024-07-02 15:57:08 +08:00
|
|
|
source "drivers/ethernet/Kconfig.litex"
|
2019-11-30 04:34:31 +08:00
|
|
|
source "drivers/ethernet/Kconfig.gecko"
|
2020-09-02 16:36:48 +08:00
|
|
|
source "drivers/ethernet/Kconfig.w5500"
|
2020-04-13 16:23:43 +08:00
|
|
|
source "drivers/ethernet/Kconfig.dsa"
|
2021-05-17 22:05:57 +08:00
|
|
|
source "drivers/ethernet/Kconfig.xlnx_gem"
|
2022-08-22 18:13:54 +08:00
|
|
|
source "drivers/ethernet/Kconfig.cyclonev"
|
2024-06-20 15:25:45 +08:00
|
|
|
source "drivers/ethernet/Kconfig.nxp_imx_netc"
|
2023-07-08 01:07:09 +08: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 10:39:34 +08:00
|
|
|
source "drivers/ethernet/Kconfig.ivshmem"
|
2023-05-12 20:49:53 +08:00
|
|
|
source "drivers/ethernet/Kconfig.adin2111"
|
2023-10-25 19:39:30 +08:00
|
|
|
source "drivers/ethernet/Kconfig.numaker"
|
2023-10-06 22:59:42 +08:00
|
|
|
source "drivers/ethernet/Kconfig.lan865x"
|
2023-12-19 22:56:37 +08:00
|
|
|
source "drivers/ethernet/Kconfig.xmc4xxx"
|
2016-12-20 18:30:40 +08:00
|
|
|
|
2024-03-02 04:33:38 +08:00
|
|
|
source "drivers/ethernet/eth_nxp_enet_qos/Kconfig"
|
|
|
|
|
drivers: ethernet: dwc_xgmac: Added dwc-xgmac
ethernet driver
This driver is capable of supporting basic features
of synposys dwc-xgmac ethernet MAC IP. Basic features
includes,
1. Tx and Rx, multiple Tx and Rx DMA channels, multiple
Tx and Rx queues
2. Check Sum Offloading on Tx and Rx for IPv4, IPv6,
TCP, UDP and ICMP packets
3. 10M/100M/1G speeds, Autonegotiation, Link speed
configuration, Promiscuous mode, Full/Half
duplex configuration
4. Added source files for synopsys dwc xgmac mdio driver.
synopsys dwc xgmac mdio driver fetures includes:
It supports clause 22 of IEEE 802.3 for ethernet PHY devices
management.
5. Extended mdio shell support for dwcxgmac mdio driver.
Signed-off-by: Santosh Male <santosh.male@intel.com>
2023-01-04 23:14:10 +08:00
|
|
|
source "drivers/ethernet/dwc_xgmac/Kconfig"
|
2021-05-03 09:06:30 +08:00
|
|
|
source "drivers/ethernet/phy/Kconfig"
|
|
|
|
|
2024-03-19 06:59:29 +08:00
|
|
|
source "drivers/ethernet/nxp_enet/Kconfig"
|
|
|
|
|
2022-08-11 22:10:41 +08:00
|
|
|
endif # "Ethernet Drivers"
|
|
|
|
|
|
|
|
config ETH_INIT_PRIORITY
|
|
|
|
int "Ethernet driver init priority"
|
|
|
|
default 80
|
2024-03-11 18:18:18 +08:00
|
|
|
depends on NET_L2_ETHERNET || ETH_DRIVER
|
2022-08-11 22:10:41 +08: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.
|