mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix error introduced in the 20020217 update, where GetPossibleResources
was spammed with GetCurrentResources. Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
This commit is contained in:
parent
fd6d292255
commit
0a702a9b3a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92849
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user