diff options
author | msmith <msmith@FreeBSD.org> | 2002-03-21 02:02:31 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2002-03-21 02:02:31 +0000 |
commit | 605075bfa9ad97a16e779a76d50f925b70dd4933 (patch) | |
tree | 88994fe74d4c706524272808c10e050b5bc0da5c /sys/dev/acpica/acpi_pcib_acpi.c | |
parent | 1dac03fb5ec0f74ba85fc73617f1b78eb503b38a (diff) | |
download | FreeBSD-src-605075bfa9ad97a16e779a76d50f925b70dd4933.zip FreeBSD-src-605075bfa9ad97a16e779a76d50f925b70dd4933.tar.gz |
Fix error introduced in the 20020217 update, where GetPossibleResources
was spammed with GetCurrentResources.
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Diffstat (limited to 'sys/dev/acpica/acpi_pcib_acpi.c')
-rw-r--r-- | sys/dev/acpica/acpi_pcib_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index 4b12a41..2ed237c 100644 --- a/sys/dev/acpica/acpi_pcib_acpi.c +++ b/sys/dev/acpica/acpi_pcib_acpi.c @@ -411,7 +411,7 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin) goto out; /* this is fatal */ } prsbuf.Length = ACPI_ALLOCATE_BUFFER; - if (ACPI_FAILURE(status = AcpiGetCurrentResources(lnkdev, &prsbuf))) { + if (ACPI_FAILURE(status = AcpiGetPossibleResources(lnkdev, &prsbuf))) { device_printf(sc->ap_dev, "couldn't get PCI interrupt link device _PRS data - %s\n", AcpiFormatException(status)); /* this is not fatal, since it may be hardwired */ |