summaryrefslogtreecommitdiffstats
path: root/sys/x86/acpica/madt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/acpica/madt.c')
-rw-r--r--sys/x86/acpica/madt.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/x86/acpica/madt.c b/sys/x86/acpica/madt.c
index 41237ff..ef36276 100644
--- a/sys/x86/acpica/madt.c
+++ b/sys/x86/acpica/madt.c
@@ -306,10 +306,11 @@ interrupt_polarity(UINT16 IntiFlags, UINT8 Source)
case ACPI_MADT_POLARITY_ACTIVE_HIGH:
return (INTR_POLARITY_HIGH);
case ACPI_MADT_POLARITY_ACTIVE_LOW:
- return (INTR_POLARITY_LOW);
+ break;
default:
- panic("Bogus Interrupt Polarity");
+ printf("WARNING: Bogus Interrupt Polarity. Assume POLALITY LOW");
}
+ return (INTR_POLARITY_LOW);
}
static enum intr_trigger
@@ -325,10 +326,13 @@ interrupt_trigger(UINT16 IntiFlags, UINT8 Source)
case ACPI_MADT_TRIGGER_EDGE:
return (INTR_TRIGGER_EDGE);
case ACPI_MADT_TRIGGER_LEVEL:
- return (INTR_TRIGGER_LEVEL);
+ break;
default:
- panic("Bogus Interrupt Trigger Mode");
+ printf("WARNING: Bogus Interrupt Trigger Mode. Assume Level trigger.");
+
+ break;
}
+ return (INTR_TRIGGER_LEVEL);
}
/*
OpenPOWER on IntegriCloud