1# Ethernet PHY drivers configuration options 2 3# Copyright (c) 2021 IP-Logix Inc. 4# SPDX-License-Identifier: Apache-2.0 5 6menu "Ethernet PHY Drivers" 7 depends on NET_L2_ETHERNET 8 9module = PHY 10module-dep = LOG 11module-str = Log level for Ethernet PHY driver 12module-help = Sets log level for Ethernet PHY Device Drivers. 13source "subsys/net/Kconfig.template.log_config.net" 14 15config PHY_INIT_PRIORITY 16 int "Ethernet PHY driver init priority" 17 default 70 18 help 19 Ethernet PHY device driver initialization priority. 20 Do not mess with it unless you know what you are doing. 21 Note that the priority needs to be lower than the net stack 22 so that it can start before the networking sub-system. 23 24config PHY_GENERIC_MII 25 bool "Generic MII PHY Driver" 26 default y 27 depends on DT_HAS_ETHERNET_PHY_ENABLED 28 depends on MDIO 29 help 30 This is a generic MII PHY interface that communicates with the 31 PHY using the MDIO bus. 32 33config PHY_ADIN2111 34 bool "ADIN2111 PHY driver" 35 default y 36 depends on DT_HAS_ADI_ADIN2111_PHY_ENABLED 37 depends on ETH_ADIN2111 38 depends on MDIO_ADIN2111 39 help 40 Enable ADIN2111 PHY driver. 41 42config PHY_AUTONEG_TIMEOUT_MS 43 int "Auto-negotiation timeout value in milliseconds" 44 default 4000 45 help 46 Maximum duration of auto-negotiation sequence in milliseconds 47 before the process fails 48 49config PHY_MONITOR_PERIOD 50 int "Monitor task execution period" 51 default 500 52 help 53 Monitor task execution period in milliseconds. The monitor task is 54 periodically executed to detect and report any changes in the 55 PHY link status to the operating system. 56 57endmenu # "Ethernet PHY Drivers" 58