Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178156204
D62221.1796141628.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
551 B
Referenced Files
None
Subscribers
None
D62221.1796141628.diff
View Options
diff --git a/sys/dev/rge/if_rge.c b/sys/dev/rge/if_rge.c
--- a/sys/dev/rge/if_rge.c
+++ b/sys/dev/rge/if_rge.c
@@ -2584,6 +2584,12 @@
sc->sc_watchdog--;
if (sc->sc_watchdog == 0) {
RGE_PRINT_ERROR(sc, "TX timeout (watchdog)\n");
+ /*
+ * rge_init_locked() returns early on a running
+ * interface, so clear the flag or the reset is a
+ * no-op and TX stays wedged until ifconfig down up.
+ */
+ if_setdrvflagbits(sc->sc_ifp, 0, IFF_DRV_RUNNING);
rge_init_locked(sc);
sc->sc_drv_stats.tx_watchdog_timeout_cnt++;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 1, 4:13 PM (22 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42126784
Default Alt Text
D62221.1796141628.diff (551 B)
Attached To
Mode
D62221: rge: Make the TX watchdog reset the chip
Attached
Detach File
Event Timeline