diff options
author | jhb <jhb@FreeBSD.org> | 2002-09-30 18:45:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-09-30 18:45:20 +0000 |
commit | 1e51eacf83efe8d98b100d1ee388db62d5ac1876 (patch) | |
tree | 1782805f4942c08f7880014fe56b64f82da02ab4 /sys/amd64/acpica/acpi_machdep.c | |
parent | 9b80ac7383aeb8ff680907bc091d45fc935d4eec (diff) | |
download | FreeBSD-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/acpica/acpi_machdep.c')
-rw-r--r-- | sys/amd64/acpica/acpi_machdep.c | 6 |
1 files changed, 6 insertions, 0 deletions
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); |