- refresh, rebase and reorder patches - JH7110 media drivers have been dropped for now - JH7110 E24 and mailbox drivers were added - JH7100 DMA- and errata-patches have been dropped as they were upstreamed Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
23 lines
838 B
Diff
23 lines
838 B
Diff
From 0eaf04ef4963db173428da176f52320754b0574c Mon Sep 17 00:00:00 2001
|
|
From: Hal Feng <hal.feng@starfivetech.com>
|
|
Date: Thu, 10 Oct 2024 11:05:20 +0800
|
|
Subject: [PATCH 19/55] net: stmmac: Extend waiting time of dma reset
|
|
|
|
Fix dma reset failure happening when disabling network.
|
|
|
|
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
---
|
|
drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c
|
|
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c
|
|
@@ -23,7 +23,7 @@ int dwmac4_dma_reset(void __iomem *ioadd
|
|
|
|
return readl_poll_timeout(ioaddr + DMA_BUS_MODE, value,
|
|
!(value & DMA_BUS_MODE_SFT_RESET),
|
|
- 10000, 1000000);
|
|
+ 10000, 3000000);
|
|
}
|
|
|
|
void dwmac4_set_rx_tail_ptr(struct stmmac_priv *priv, void __iomem *ioaddr,
|