|
| 1 | +# Ethernet PHY drivers configuration options |
| 2 | + |
| 3 | +# Copyright (c) 2021 IP-Logix Inc. |
| 4 | +# SPDX-License-Identifier: Apache-2.0 |
| 5 | + |
| 6 | +menu "Ethernet PHY Drivers" |
| 7 | + depends on NET_L2_ETHERNET |
| 8 | + |
| 9 | +module = PHY |
| 10 | +module-dep = LOG |
| 11 | +module-str = Log level for Ethernet PHY driver |
| 12 | +module-help = Sets log level for Ethernet PHY Device Drivers. |
| 13 | +source "subsys/net/Kconfig.template.log_config.net" |
| 14 | + |
| 15 | +config 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 | + |
| 24 | +config PHY_GENERIC_MII |
| 25 | + bool "Generic MII PHY Driver" |
| 26 | + default y |
| 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 | + |
| 32 | +config PHY_AUTONEG_TIMEOUT_MS |
| 33 | + int "Auto-negotiation timeout value in milliseconds" |
| 34 | + default 4000 |
| 35 | + help |
| 36 | + Maximum duration of auto-negotiation sequence in milliseconds |
| 37 | + before the process fails |
| 38 | + |
| 39 | +config PHY_MONITOR_PERIOD |
| 40 | + int "Monitor task execution period" |
| 41 | + default 500 |
| 42 | + help |
| 43 | + Monitor task execution period in milliseconds. The monitor task is |
| 44 | + periodically executed to detect and report any changes in the |
| 45 | + PHY link status to the operating system. |
| 46 | + |
| 47 | +endmenu # "Ethernet PHY Drivers" |
0 commit comments