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:
jhb 2004-05-04 21:04:24 +00:00
parent 16e57cdc4d
commit 15dc9178f8

View File

@ -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,