summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_pcib_acpi.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-08-03 08:38:49 +0000
committermsmith <msmith@FreeBSD.org>2001-08-03 08:38:49 +0000
commit6a94a97953f84a8a5ab935e31b6ee55ef2522092 (patch)
treed90c3069987f2ba5a1623291fd6bde2a086c9bba /sys/dev/acpica/acpi_pcib_acpi.c
parentfde6a74d0c48c1cbdab2cd92c2cd3a9feb747a79 (diff)
downloadFreeBSD-src-6a94a97953f84a8a5ab935e31b6ee55ef2522092.zip
FreeBSD-src-6a94a97953f84a8a5ab935e31b6ee55ef2522092.tar.gz
Shoud build resources in the _CRS buffer. Oops.
Submitted by: "neckpain@nettaxi.com" <neckpain@nettaxi.com>
Diffstat (limited to 'sys/dev/acpica/acpi_pcib_acpi.c')
-rw-r--r--sys/dev/acpica/acpi_pcib_acpi.c2
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 44821e6..14c90fc 100644
--- a/sys/dev/acpica/acpi_pcib_acpi.c
+++ b/sys/dev/acpica/acpi_pcib_acpi.c
@@ -488,7 +488,7 @@ acpi_pcib_route_interrupt(device_t pcib, device_t dev, int pin)
prsres->Data.Irq.Interrupts[0], acpi_name(lnkdev), AcpiFormatException(status));
goto out;
}
- if (ACPI_FAILURE(status = AcpiSetCurrentResources(lnkdev, &resbuf))) {
+ if (ACPI_FAILURE(status = AcpiSetCurrentResources(lnkdev, &crsbuf))) {
device_printf(sc->ap_dev, "couldn't route interrupt %d via %s - %s\n",
prsres->Data.Irq.Interrupts[0], acpi_name(lnkdev), AcpiFormatException(status));
goto out;
OpenPOWER on IntegriCloud