Commit 4d5006f3c4216ccbcc09c059653b937464f6d003

Authored by Ye Li
1 parent de8f47bf9e

MLK-23871-2 net: eqos: Reduce the MDIO wait time

Current MDIO wait time is too long, which introduce long delay when
PHY negotiation register checking. Reduce it to 10us

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Fugang Duan <Fugang.duan@nxp.com>
(cherry picked from commit a2cc69517416eb0246437e610333bf93e234708e)

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/net/dwc_eth_qos.c
... ... @@ -2208,7 +2208,7 @@
2208 2208  
2209 2209 struct eqos_config eqos_imx_config = {
2210 2210 .reg_access_always_ok = false,
2211   - .mdio_wait = 10000,
  2211 + .mdio_wait = 10,
2212 2212 .swr_wait = 50,
2213 2213 .config_mac = EQOS_MAC_RXQ_CTRL0_RXQ0EN_ENABLED_DCB,
2214 2214 .config_mac_mdio = EQOS_MAC_MDIO_ADDRESS_CR_250_300,