diff options
author | Marek Vasut | 2024-05-31 18:47:16 +0200 |
---|---|---|
committer | Tom Rini | 2024-06-13 16:27:06 -0600 |
commit | 4031a4299c43785bad9062859978bafe10efab58 (patch) | |
tree | 4c9235ff0020e34bee9e398a9ce1f0c225e5e8c3 /drivers | |
parent | 3db3a6ba7b0cb09757fc631ccc9d4445eb101dc7 (diff) |
net: phy: Turn default auto-negotiation timeout into Kconfig symbol
Let users configure default auto-negotiation timeout via Kconfig
instead of specifying it in board configuration headers. This is
the first step toward converting this to Kconfig fully, so far the
legacy PHY_ANEG_TIMEOUT in configuration headers takes precedence.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/phy/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 3d96938eaba..73064b2af68 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -23,6 +23,12 @@ config PHY_ADDR_ENABLE help Select this if you want to control which phy address is used +config PHY_ANEG_TIMEOUT + int "PHY auto-negotiation timeout" + default 4000 + help + Default PHY auto-negotiation timeout. + if PHY_ADDR_ENABLE config PHY_ADDR int "PHY address" |