diff options
author | msmith <msmith@FreeBSD.org> | 2001-08-31 18:08:50 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-08-31 18:08:50 +0000 |
commit | 85477cf711c667771f03f0ccd26176800e8e751d (patch) | |
tree | abc8560788b34d03dd57814b0902caa7a3de8337 | |
parent | 44ebfe9763b4ec26dff3638471ebf30f0d10fb1a (diff) | |
download | FreeBSD-src-85477cf711c667771f03f0ccd26176800e8e751d.zip FreeBSD-src-85477cf711c667771f03f0ccd26176800e8e751d.tar.gz |
Don't activate placeholder resources; it can be very expensive in the
SYS_RES_MEMORY case, and it shouldn't be necessary.
-rw-r--r-- | sys/dev/acpica/acpi_resource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpi_resource.c b/sys/dev/acpica/acpi_resource.c index ed05390..e3edfc2 100644 --- a/sys/dev/acpica/acpi_resource.c +++ b/sys/dev/acpica/acpi_resource.c @@ -563,11 +563,11 @@ acpi_sysresource_attach(device_t dev) */ for (i = 0; i < 100; i++) { rid = i; - res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, RF_ACTIVE); + res = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, 0); rid = i; - res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1, RF_ACTIVE); + res = bus_alloc_resource(dev, SYS_RES_MEMORY, &rid, 0, ~0, 1, 0); rid = i; - res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, RF_ACTIVE); + res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, 0); } return(0); } |