From d93b034fe9b71e2b3e29e0f8ec346a0ec63e3109 Mon Sep 17 00:00:00 2001 From: Mike Smith Date: Fri, 3 Aug 2001 08:38:49 +0000 Subject: [PATCH] Shoud build resources in the _CRS buffer. Oops. Submitted by: "neckpain@nettaxi.com" --- sys/dev/acpica/acpi_pcib.c | 2 +- sys/dev/acpica/acpi_pcib_acpi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/acpica/acpi_pcib.c b/sys/dev/acpica/acpi_pcib.c index 44821e6608b6..14c90fc2ebc7 100644 --- a/sys/dev/acpica/acpi_pcib.c +++ b/sys/dev/acpica/acpi_pcib.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; diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index 44821e6608b6..14c90fc2ebc7 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;