Have ACPI use BUS_CONFIG_INTR() to force the SCI to level trigger and
active low polarity when using the PIC interrupt model. This should fix broken SCI interrupts on machines when not using the APIC where the BIOS doesn't program the ELCR to level trigger for the ACPI SCI. Requested by: njl
This commit is contained in:
parent
16e57cdc4d
commit
15dc9178f8
@ -328,7 +328,10 @@ acpi_machdep_init(device_t dev)
|
||||
|
||||
acpi_install_wakeup_handler(sc);
|
||||
|
||||
if (intr_model != ACPI_INTR_PIC)
|
||||
if (intr_model == ACPI_INTR_PIC)
|
||||
BUS_CONFIG_INTR(dev, AcpiGbl_FADT->SciInt, INTR_TRIGGER_LEVEL,
|
||||
INTR_POLARITY_LOW);
|
||||
else
|
||||
acpi_SetIntrModel(intr_model);
|
||||
|
||||
SYSCTL_ADD_UINT(&sc->acpi_sysctl_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user