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 default y 9 depends on NET_L2_ETHERNET 10 11if ETH_DRIVER 12 13module = ETHERNET 14module-dep = LOG 15module-str = Log level for Ethernet driver 16module-help = Sets log level for Ethernet Device Drivers. 17source "subsys/net/Kconfig.template.log_config.net" 18 19config ETH_QEMU_IFACE_NAME 20 string "Network interface name for QEMU" 21 default "zeth" 22 depends on NET_QEMU_ETHERNET 23 help 24 The network interface name for QEMU. This value is given as 25 a parameter to -nic qemu command line option. The network 26 interface must be created before starting QEMU. The net-setup.sh 27 script from net-tools project can be used to create the network 28 interface. 29 30config ETH_QEMU_EXTRA_ARGS 31 string "Extra arguments to QEMU -nic option" 32 depends on NET_QEMU_ETHERNET 33 default "" 34 help 35 Extra arguments passed to QEMU -nic option when Ethernet Networking 36 is enabled. Typically this is used to set the network MAC address of 37 Zephyr instance. This option can contain multiple QEMU option 38 arguments. Each QEMU argument must be separated by comma "," and no 39 spaces between arguments. Example: "mac=02:03:04:f0:0d:01" or 40 "mac=02:03:04:f0:0d:01,downscript=no" 41 42source "drivers/ethernet/Kconfig.enc28j60" 43source "drivers/ethernet/Kconfig.enc424j600" 44source "drivers/ethernet/Kconfig.esp32" 45source "drivers/ethernet/Kconfig.mcux" 46source "drivers/ethernet/Kconfig.e1000" 47source "drivers/ethernet/Kconfig.sam_gmac" 48source "drivers/ethernet/Kconfig.stm32_hal" 49source "drivers/ethernet/Kconfig.dwmac" 50source "drivers/ethernet/Kconfig.smsc911x" 51source "drivers/ethernet/Kconfig.native_posix" 52source "drivers/ethernet/Kconfig.stellaris" 53source "drivers/ethernet/Kconfig.liteeth" 54source "drivers/ethernet/Kconfig.gecko" 55source "drivers/ethernet/Kconfig.w5500" 56source "drivers/ethernet/Kconfig.dsa" 57source "drivers/ethernet/Kconfig.xlnx_gem" 58source "drivers/ethernet/Kconfig.cyclonev" 59source "drivers/ethernet/Kconfig.nxp_s32_netc" 60source "drivers/ethernet/Kconfig.nxp_s32_gmac" 61source "drivers/ethernet/Kconfig.smsc91x" 62source "drivers/ethernet/Kconfig.ivshmem" 63source "drivers/ethernet/Kconfig.adin2111" 64source "drivers/ethernet/Kconfig.numaker" 65source "drivers/ethernet/Kconfig.lan865x" 66source "drivers/ethernet/Kconfig.nxp_enet" 67source "drivers/ethernet/Kconfig.xmc4xxx" 68 69source "drivers/ethernet/phy/Kconfig" 70 71endif # "Ethernet Drivers" 72 73config ETH_INIT_PRIORITY 74 int "Ethernet driver init priority" 75 default 80 76 depends on NET_L2_ETHERNET 77 help 78 Ethernet device driver initialization priority. 79 Do not mess with it unless you know what you are doing. 80 Note that the priority needs to be lower than the net stack 81 so that it can start before the networking sub-system. 82