summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-06-13 00:40:37 +0000
committerimp <imp@FreeBSD.org>2003-06-13 00:40:37 +0000
commitbdd65ff5ef4b9900caab4d1e6bc78cd999920c7a (patch)
tree4fccf591adce4e996d3c6b4a298872486680c745 /sys/dev/wi
parent12a43e4609e292a8de9cc82d3be51302f7b129e3 (diff)
downloadFreeBSD-src-bdd65ff5ef4b9900caab4d1e6bc78cd999920c7a.zip
FreeBSD-src-bdd65ff5ef4b9900caab4d1e6bc78cd999920c7a.tar.gz
As a workaround for the latest problems, don't init hermes cards more
than once. This appears to work around the hanging issues, at the expense of warnings about bad RID allocations. I'm not sure this is a permanant workaround, but does appear to help in the tests that I've done here.
Diffstat (limited to 'sys/dev/wi')
-rw-r--r--sys/dev/wi/if_wi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index bda7b23..fde517f 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -944,7 +944,7 @@ wi_reset(struct wi_softc *sc)
int tries;
/* Symbol firmware cannot be initialized more than once */
- if (sc->sc_firmware_type == WI_SYMBOL && sc->sc_reset)
+ if (sc->sc_firmware_type != WI_INTERSIL && sc->sc_reset)
return (0);
if (sc->sc_firmware_type == WI_SYMBOL)
tries = 1;
OpenPOWER on IntegriCloud