Shoud build resources in the _CRS buffer. Oops.

Submitted by:	"neckpain@nettaxi.com" <neckpain@nettaxi.com>
This commit is contained in:
Mike Smith 2001-08-03 08:38:49 +00:00
parent a692219d8a
commit d93b034fe9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81093
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;