summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-09-30 18:45:20 +0000
committerjhb <jhb@FreeBSD.org>2002-09-30 18:45:20 +0000
commit1e51eacf83efe8d98b100d1ee388db62d5ac1876 (patch)
tree1782805f4942c08f7880014fe56b64f82da02ab4 /sys/amd64
parent9b80ac7383aeb8ff680907bc091d45fc935d4eec (diff)
downloadFreeBSD-src-1e51eacf83efe8d98b100d1ee388db62d5ac1876.zip
FreeBSD-src-1e51eacf83efe8d98b100d1ee388db62d5ac1876.tar.gz
Trash the PnPBIOStable pointer later on when we know that the acpi probe
and attach routines have succeeded so that if they fail we can still use the PnP BIOS to find ISA on-board devices. The fact that we do this here is gross but fixing it properly involves a lot more work.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/acpica/OsdEnvironment.c6
-rw-r--r--sys/amd64/acpica/acpi_machdep.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/acpica/OsdEnvironment.c b/sys/amd64/acpica/OsdEnvironment.c
index 773bbe8..4e3ae44 100644
--- a/sys/amd64/acpica/OsdEnvironment.c
+++ b/sys/amd64/acpica/OsdEnvironment.c
@@ -38,12 +38,6 @@
ACPI_STATUS
AcpiOsInitialize(void)
{
- /*
- * Prevent the PnP BIOS code from interfering with our own scan of
- * ISA devices.
- */
- PnPBIOStable = NULL;
-
return(0);
}
diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c
index 76e2e92..f6771e5 100644
--- a/sys/amd64/acpica/acpi_machdep.c
+++ b/sys/amd64/acpica/acpi_machdep.c
@@ -326,6 +326,12 @@ acpi_machdep_init(device_t dev)
return (ENXIO);
}
+ /*
+ * XXX: Prevent the PnP BIOS code from interfering with
+ * our own scan of ISA devices.
+ */
+ PnPBIOStable = NULL;
+
acpi_capm_init(sc);
acpi_install_wakeup_handler(sc);
OpenPOWER on IntegriCloud