Commit 112382a4 authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] Restore PIC-mode SCI default to Level Trigger (David Shaohua Li)

http://bugme.osdl.org/show_bug.cgi?id=2382
parent 566b6ef3
...@@ -615,6 +615,11 @@ acpi_bus_init (void) ...@@ -615,6 +615,11 @@ acpi_bus_init (void)
#ifdef CONFIG_X86 #ifdef CONFIG_X86
if (!acpi_ioapic) { if (!acpi_ioapic) {
extern acpi_interrupt_flags acpi_sci_flags; extern acpi_interrupt_flags acpi_sci_flags;
/* compatible (0) means level (3) */
if (acpi_sci_flags.trigger == 0)
acpi_sci_flags.trigger = 3;
/* Set PIC-mode SCI trigger type */ /* Set PIC-mode SCI trigger type */
acpi_pic_sci_set_trigger(acpi_fadt.sci_int, acpi_sci_flags.trigger); acpi_pic_sci_set_trigger(acpi_fadt.sci_int, acpi_sci_flags.trigger);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment