summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-07-17 20:16:22 +0000
committerimp <imp@FreeBSD.org>2005-07-17 20:16:22 +0000
commite68f5f6d40541a7a9fdd9110f4a1d4c97dfa2d55 (patch)
tree7c1becf1c6f6d3a2e9665d4f5896f1f7fd9ada7d /sys/dev/pccard
parentbbacc56d64f7be5221368af54485525b63dd5589 (diff)
downloadFreeBSD-src-e68f5f6d40541a7a9fdd9110f4a1d4c97dfa2d55.zip
FreeBSD-src-e68f5f6d40541a7a9fdd9110f4a1d4c97dfa2d55.tar.gz
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.
Diffstat (limited to 'sys/dev/pccard')
-rw-r--r--sys/dev/pccard/pccard_cis.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c
index 60b849e..fe6d513 100644
--- a/sys/dev/pccard/pccard_cis.c
+++ b/sys/dev/pccard/pccard_cis.c
@@ -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++;
}
OpenPOWER on IntegriCloud