summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2014-03-05 21:35:22 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2014-03-05 21:35:22 +0000
commitb90161f56a32b339c5ffa01a498dea4368a5233c (patch)
tree9b5b890a8b16c273d59230cd025eff5701f8a458 /sys
parent82514ee52bf171e5752732b9fc3381624285e668 (diff)
Raise the delay before initializing sdmmc. Still a hack so the XXX stays,
but at least lets the reader on X220 work pretty reliably, rather than about 1/4 of the time. ok stsp@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sdmmc/sdmmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmc.c b/sys/dev/sdmmc/sdmmc.c
index 612aec68db4..fa962a717c9 100644
--- a/sys/dev/sdmmc/sdmmc.c
+++ b/sys/dev/sdmmc/sdmmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdmmc.c,v 1.32 2014/01/23 01:41:44 deraadt Exp $ */
+/* $OpenBSD: sdmmc.c,v 1.33 2014/03/05 21:35:21 sthen Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -403,7 +403,7 @@ sdmmc_enable(struct sdmmc_softc *sc)
}
/* XXX wait for card to power up */
- sdmmc_delay(100000);
+ sdmmc_delay(250000);
/* Initialize SD I/O card function(s). */
if ((error = sdmmc_io_enable(sc)) != 0)