mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Attach ACPI children a bit later in attach(), specifically after performing
any machine dependent initialization. This allows the MD code to set the interrupt routing model so that PCI interrupts are routed correctly when using an APIC or SAPIC for example.
This commit is contained in:
parent
e703b0e13e
commit
eeb6dba253
1 changed files with 3 additions and 2 deletions
|
|
@ -451,8 +451,6 @@ acpi_attach(device_t dev)
|
|||
freeenv(debugpoint);
|
||||
}
|
||||
#endif
|
||||
if (!acpi_disabled("bus"))
|
||||
acpi_probe_children(dev);
|
||||
|
||||
/*
|
||||
* Register our shutdown handlers
|
||||
|
|
@ -502,6 +500,9 @@ acpi_attach(device_t dev)
|
|||
/* Register ACPI again to pass the correct argument of pm_func. */
|
||||
power_pm_register(POWER_PM_TYPE_ACPI, acpi_pm_func, sc);
|
||||
|
||||
if (!acpi_disabled("bus"))
|
||||
acpi_probe_children(dev);
|
||||
|
||||
error = 0;
|
||||
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue