summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/dsdt.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-05-02 14:10:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-05-02 14:10:16 +0000
commit156ec46e7f5b54fc822440dfe6e16c561c6d14f9 (patch)
tree524c7187bc73c62aa68fbebe80061c8751ae6464 /sys/dev/acpi/dsdt.h
parent4b0d63d8a77cee15fa487badefd531028a470545 (diff)
Make acpiprt(4) handle interrupts with non-standard polarity and trigger mode
correctly. Tested by nobody.
Diffstat (limited to 'sys/dev/acpi/dsdt.h')
-rw-r--r--sys/dev/acpi/dsdt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.h b/sys/dev/acpi/dsdt.h
index ab0ace47b1e..5f723a83a25 100644
--- a/sys/dev/acpi/dsdt.h
+++ b/sys/dev/acpi/dsdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.h,v 1.61 2013/01/18 04:07:06 pirofti Exp $ */
+/* $OpenBSD: dsdt.h,v 1.62 2014/05/02 14:10:15 kettenis Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -168,6 +168,9 @@ union acpi_resource {
uint8_t typecode;
uint16_t length;
uint8_t flags;
+#define LR_EXTIRQ_SHR (1L << 3)
+#define LR_EXTIRQ_POLARITY (1L << 2)
+#define LR_EXTIRQ_MODE (1L << 1)
uint8_t irq_count;
uint32_t irq[1];
} __packed lr_extirq;