net: macb: Increase halt timeout to accommodate 10Mbps link
Increase halt timeout to accommodate for 16K SRAM at 10Mbps rounded. Signed-off-by: Harini Katakam <harini.katakam@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Link: https://lore.kernel.org/r/20230316083050.2108-1-harini.katakam@amd.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
0de10fd6eb
commit
ed0578a46c
@@ -94,8 +94,7 @@ struct sifive_fu540_macb_mgmt {
|
||||
/* Graceful stop timeouts in us. We should allow up to
|
||||
* 1 frame time (10 Mbits/s, full-duplex, ignoring collisions)
|
||||
*/
|
||||
#define MACB_HALT_TIMEOUT 1230
|
||||
|
||||
#define MACB_HALT_TIMEOUT 14000
|
||||
#define MACB_PM_TIMEOUT 100 /* ms */
|
||||
|
||||
#define MACB_MDIO_TIMEOUT 1000000 /* in usecs */
|
||||
|
||||
Reference in New Issue
Block a user