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.
This commit is contained in:
imp 2003-06-13 00:40:37 +00:00
parent 677f619a09
commit 08084192be

View File

@ -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;