diff options
author | 2014-07-01 19:13:19 +0000 | |
---|---|---|
committer | 2014-07-01 19:13:19 +0000 | |
commit | d9b25ad57bdbaf45f2d3b8bf32aa5744bf2e005f (patch) | |
tree | 6cd0b8c4551eb26884344d9be8a92680bc7199e6 /sys/dev/acpi/acpi.c | |
parent | Fix snprintf() return value tests. ok gilles@ (diff) | |
download | wireguard-openbsd-d9b25ad57bdbaf45f2d3b8bf32aa5744bf2e005f.tar.xz wireguard-openbsd-d9b25ad57bdbaf45f2d3b8bf32aa5744bf2e005f.zip |
Adding an additonal delay after each access to SystemMemory or SystemIO
during autoconf makes no sense.
ok deraadt@
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r-- | sys/dev/acpi/acpi.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 89ecdc82db8..cc43d24bdfd 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.259 2014/06/23 18:47:41 kettenis Exp $ */ +/* $OpenBSD: acpi.c,v 1.260 2014/07/01 19:13:19 kettenis Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -246,14 +246,6 @@ acpi_gasio(struct acpi_softc *sc, int iodir, int iospace, uint64_t address, return (-1); } } - - /* 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); } acpi_bus_space_unmap(iot, ioh, len, NULL); break; |