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 if !ETH_ADIN2111 27 depends on MDIO 28 help 29 This is a generic MII PHY interface that communicates with the 30 PHY using the MDIO bus. 31 32config PHY_ADIN2111 33 bool "ADIN2111 PHY driver" 34 default y 35 depends on DT_HAS_ADI_ADIN2111_PHY_ENABLED 36 depends on ETH_ADIN2111 37 depends on MDIO_ADIN2111 38 help 39 Enable ADIN2111 PHY driver. 40 41config PHY_AUTONEG_TIMEOUT_MS 42 int "Auto-negotiation timeout value in milliseconds" 43 default 4000 44 help 45 Maximum duration of auto-negotiation sequence in milliseconds 46 before the process fails 47 48config PHY_MONITOR_PERIOD 49 int "Monitor task execution period" 50 default 500 51 help 52 Monitor task execution period in milliseconds. The monitor task is 53 periodically executed to detect and report any changes in the 54 PHY link status to the operating system. 55 56endmenu # "Ethernet PHY Drivers" 57