Don't return an error from resume() if execution of _DIS fails for some

reason (not all BIOSen have _DIS methods for all link devices for example).
This matches the behavior of attach() with respect to _DIS as well.

Submitted by:	njl
This commit is contained in:
jhb 2007-10-27 22:14:17 +00:00
parent 3ee3b45ab8
commit 2a9cc51580

View File

@ -932,9 +932,10 @@ acpi_pci_link_resume(device_t dev)
routed++;
if (routed == sc->pl_num_links)
status = acpi_pci_link_route_irqs(dev);
else
status = AcpiEvaluateObject(acpi_get_handle(dev), "_DIS", NULL,
NULL);
else {
AcpiEvaluateObject(acpi_get_handle(dev), "_DIS", NULL, NULL);
status = AE_OK;
}
ACPI_SERIAL_END(pci_link);
if (ACPI_FAILURE(status))
return (ENXIO);