git: 3943973aaeba - main - mgb: increase timeout
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Oct 2026 18:37:38 UTC
The branch main has been updated by br:
URL: https://cgit.FreeBSD.org/src/commit/?id=3943973aaeba035bf36b34dfb9354d8d1c4684b9
commit 3943973aaeba035bf36b34dfb9354d8d1c4684b9
Author: Ruslan Bukin <br@FreeBSD.org>
AuthorDate: 2026-10-13 18:34:40 +0000
Commit: Ruslan Bukin <br@FreeBSD.org>
CommitDate: 2026-10-13 18:36:17 +0000
mgb: increase timeout
Increase wait timeout as needed for slower systems.
It takes ~120ms on the Codasip Prime for the MGB_PHY_READY bit
to set after phy reset command issued.
Reviewed by: emaste
Sponsored by: EPSRC ("UKRI3001: CHERI Research Centre")
Differential Revision: https://reviews.freebsd.org/D60706
---
sys/dev/mgb/if_mgb.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/mgb/if_mgb.h b/sys/dev/mgb/if_mgb.h
index c5289fd6e80a..a000293b2948 100644
--- a/sys/dev/mgb/if_mgb.h
+++ b/sys/dev/mgb/if_mgb.h
@@ -35,7 +35,7 @@
#define MGB_LAN7431_DEVICE_ID 0x7431
#define MGB_PCI11414_DEVICE_ID 0xA041
-#define MGB_TIMEOUT (500)
+#define MGB_TIMEOUT (5000)
/** Control/Status Registers **/
#define MGB_BAR 0 /* PCI Base Address */