For the sake of consistency, look up link devices relative to the root
object (/) rather than the pci bus object when walking the _PRT to force attach devices. We already look up relative to the root object when doing interrupt routing. Suggested by: njl
This commit is contained in:
parent
94b3af82c1
commit
5e15a08100
@ -98,8 +98,7 @@ prt_attach_devices(ACPI_PCI_ROUTING_TABLE *entry, void *arg)
|
||||
|
||||
/* Lookup the associated handle and device. */
|
||||
pcib = (device_t)arg;
|
||||
if (ACPI_FAILURE(AcpiGetHandle(acpi_get_handle(pcib), entry->Source,
|
||||
&handle)))
|
||||
if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, entry->Source, &handle)))
|
||||
return;
|
||||
child = acpi_get_device(handle);
|
||||
if (child == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user