I believe that this tsleep was placed here in 1.28 to try to solve the

problems we were having properly mapping the CIS attr space on some
cards.  Those problems have been solved other ways, so this kludge is
no longer necessary.  Remove it and have pccards come up a whole
second faster.
This commit is contained in:
Warner Losh 2005-07-17 20:16:22 +00:00
parent 4143dbe3ea
commit 6b4a5b0b88

View File

@ -93,9 +93,7 @@ pccard_read_cis(struct pccard_softc *sc)
STAILQ_INIT(&state.card->pf_head);
state.pf = NULL;
tsleep(&state, 0, "pccard", hz);
if (pccard_scan_cis(sc->dev, pccard_parse_cis_tuple,
&state) == -1)
if (pccard_scan_cis(sc->dev, pccard_parse_cis_tuple, &state) == -1)
state.card->error++;
}