1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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:
John Baldwin 2004-05-04 21:04:24 +00:00
parent 4b1df14c60
commit 635af77a22
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128932

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,