diff options
author | jhb <jhb@FreeBSD.org> | 2005-02-22 21:52:52 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-02-22 21:52:52 +0000 |
commit | 4de6f1e433a699c92a0ee859d8bb9b075a2699e3 (patch) | |
tree | 32e5628fcba47c25c098c00ac80aa38383ab081f /sys/dev/acpica | |
parent | 3e29ea0b707aade068f0b0ee6890d559a7aa32d3 (diff) | |
download | FreeBSD-src-4de6f1e433a699c92a0ee859d8bb9b075a2699e3.zip FreeBSD-src-4de6f1e433a699c92a0ee859d8bb9b075a2699e3.tar.gz |
- Add a new quirk to indicate that pin 0 of the first I/O APIC is really
IRQ 0 and not an ExtINT pin. The MADT enumerators ignore the PC-AT flag
and ignore overrides that map IRQ 0 to pin 2 when this quirk is present.
- Add a block comment above the quirks to document each quirk so that we
can use more verbose descriptions quirks.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 4478252..fc800e5 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -160,11 +160,20 @@ extern struct mtx acpi_mutex; #define ACPI_INTR_APIC 1 #define ACPI_INTR_SAPIC 2 -/* Quirk flags. */ +/* + * Quirk flags. + * + * ACPI_Q_BROKEN: Disables all ACPI support. + * ACPI_Q_TIMER: Disables support for the ACPI timer. + * ACPI_Q_MADT_IRQ0: Specifies that ISA IRQ 0 is wired up to pin 0 of the + * first APIC and that the MADT should force that by ignoring the PC-AT + * compatible flag and ignoring overrides that redirect IRQ 0 to pin 2. + */ extern int acpi_quirks; #define ACPI_Q_OK 0 -#define ACPI_Q_BROKEN (1 << 0) /* Disable ACPI completely. */ -#define ACPI_Q_TIMER (1 << 1) /* Disable ACPI timer. */ +#define ACPI_Q_BROKEN (1 << 0) +#define ACPI_Q_TIMER (1 << 1) +#define ACPI_Q_MADT_IRQ0 (1 << 2) /* * Note that the low ivar values are reserved to provide |