1# Ethernet drivers configuration options 2 3# Copyright (c) 2015 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig ETH_DRIVER 7 bool "Ethernet drivers" 8 depends on NETWORKING 9 depends on !NET_TEST 10 default y if NET_L2_ETHERNET 11 12if ETH_DRIVER 13 14config ETH_DRIVER_RAW_MODE 15 bool "Ethernet driver without the MAC stack" 16 select NET_RAW_MODE 17 depends on !NET_L2_ETHERNET 18 help 19 This option enables using the drivers in a so-called "raw" mode, 20 i.e. without a MAC stack (the net L2 layer for ethernet will not 21 be built). 22 23module = ETHERNET 24module-dep = LOG 25module-str = Log level for Ethernet driver 26module-help = Sets log level for Ethernet Device Drivers. 27source "subsys/net/Kconfig.template.log_config.net" 28 29config ETH_QEMU_IFACE_NAME 30 string "Network interface name for QEMU" 31 default "zeth" 32 depends on NET_QEMU_ETHERNET 33 help 34 The network interface name for QEMU. This value is given as 35 a parameter to -nic qemu command line option. The network 36 interface must be created before starting QEMU. The net-setup.sh 37 script from net-tools project can be used to create the network 38 interface. 39 40config ETH_QEMU_EXTRA_ARGS 41 string "Extra arguments to QEMU -nic option" 42 depends on NET_QEMU_ETHERNET 43 default "" 44 help 45 Extra arguments passed to QEMU -nic option when Ethernet Networking 46 is enabled. Typically this is used to set the network MAC address of 47 Zephyr instance. This option can contain multiple QEMU option 48 arguments. Each QEMU argument must be separated by comma "," and no 49 spaces between arguments. Example: "mac=02:03:04:f0:0d:01" or 50 "mac=02:03:04:f0:0d:01,downscript=no" 51 52source "drivers/ethernet/Kconfig.enc28j60" 53source "drivers/ethernet/Kconfig.enc424j600" 54source "drivers/ethernet/Kconfig.esp32" 55source "drivers/ethernet/Kconfig.e1000" 56source "drivers/ethernet/Kconfig.sam_gmac" 57source "drivers/ethernet/Kconfig.stm32_hal" 58source "drivers/ethernet/Kconfig.dwmac" 59source "drivers/ethernet/Kconfig.smsc911x" 60source "drivers/ethernet/Kconfig.native_posix" 61source "drivers/ethernet/Kconfig.stellaris" 62source "drivers/ethernet/Kconfig.litex" 63source "drivers/ethernet/Kconfig.gecko" 64source "drivers/ethernet/Kconfig.w5500" 65source "drivers/ethernet/Kconfig.dsa" 66source "drivers/ethernet/Kconfig.xlnx_gem" 67source "drivers/ethernet/Kconfig.cyclonev" 68source "drivers/ethernet/Kconfig.nxp_imx_netc" 69source "drivers/ethernet/Kconfig.nxp_s32_netc" 70source "drivers/ethernet/Kconfig.nxp_s32_gmac" 71source "drivers/ethernet/Kconfig.smsc91x" 72source "drivers/ethernet/Kconfig.ivshmem" 73source "drivers/ethernet/Kconfig.adin2111" 74source "drivers/ethernet/Kconfig.numaker" 75source "drivers/ethernet/Kconfig.lan865x" 76source "drivers/ethernet/Kconfig.xmc4xxx" 77source "drivers/ethernet/Kconfig.test" 78source "drivers/ethernet/Kconfig.lan9250" 79 80source "drivers/ethernet/eth_nxp_enet_qos/Kconfig" 81 82source "drivers/ethernet/dwc_xgmac/Kconfig" 83source "drivers/ethernet/phy/Kconfig" 84 85source "drivers/ethernet/nxp_enet/Kconfig" 86source "drivers/ethernet/Kconfig.renesas_ra" 87 88endif # "Ethernet Drivers" 89 90config ETH_INIT_PRIORITY 91 int "Ethernet driver init priority" 92 default 80 93 depends on NET_L2_ETHERNET || ETH_DRIVER 94 help 95 Ethernet device driver initialization priority. 96 Do not mess with it unless you know what you are doing. 97 Note that the priority needs to be lower than the net stack 98 so that it can start before the networking sub-system. 99