diff options
author | imp <imp@FreeBSD.org> | 2003-06-13 00:40:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-06-13 00:40:37 +0000 |
commit | bdd65ff5ef4b9900caab4d1e6bc78cd999920c7a (patch) | |
tree | 4fccf591adce4e996d3c6b4a298872486680c745 /sys/dev/wi | |
parent | 12a43e4609e292a8de9cc82d3be51302f7b129e3 (diff) | |
download | FreeBSD-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.c | 2 |
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; |