summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-03-31 22:06:05 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-03-31 22:06:05 +0000
commit8929e7dc250da730a00b0e83ae7ab9e781a463d3 (patch)
tree7a36b60d81237914f5b4970cb844715bd202374c /sys/dev
parent643c207eee12a13fa8efdf9813bf1402785290ca (diff)
On watchdog timeout reset the full chip. Just draining the tx ring is not
enough to get the device unstuck. OK mglocker@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/acx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index e79094ec13b..a26d77f1567 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.92 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: acx.c,v 1.93 2009/03/31 22:06:04 claudio Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -1093,7 +1093,7 @@ acx_watchdog(struct ifnet *ifp)
if (sc->sc_txtimer) {
if (--sc->sc_txtimer == 0) {
printf("%s: watchdog timeout\n", ifp->if_xname);
- acx_txeof(ifp->if_softc);
+ acx_init(ifp);
ifp->if_oerrors++;
return;
} else