summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-02-17 17:42:53 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-02-17 17:42:53 +0000
commit0e61aebef2e8686cd10746b7f11bed09bfecd786 (patch)
tree11794db10448be1b2355b665e09175a7d5783f2a /sys
parent9feddf7310b0081ed0217a504a11ae9f3c0b4a4c (diff)
Remove earlier introduced delays. We really only need them during autconf.
ok jordan@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/acpi.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index aadd9d226aa..2b127c583c7 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.32 2006/02/17 17:35:59 marco Exp $ */
+/* $OpenBSD: acpi.c,v 1.33 2006/02/17 17:42:52 marco Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -171,11 +171,13 @@ acpi_gasio(struct acpi_softc *sc, int iodir, int iospace, uint64_t address,
}
}
- /* XXX bah! blame ACPI spec for this, cleanup later */
+ /* During autoconf some devices are still gathering
+ * information. Delay here to give them an opportunity
+ * to finish. During runtime we simply need to ignore
+ * transient values.
+ */
if (cold)
delay(10000);
- else
- tsleep(sc, PWAIT, "acpiwait", 1);
}
acpi_bus_space_unmap(sc->sc_iot, ioh, len, &ioaddr);
break;