summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-05-08 00:03:12 +0000
committerkettenis <kettenis@openbsd.org>2016-05-08 00:03:12 +0000
commitb7462092f5a2f96c002bdfa19702d8e6693e65a6 (patch)
tree15547a6167f7a4524e37ad85a72715109f65d9fc
parentUnexport sigreturn. Nobody should use it anymore, and it will be removed (diff)
downloadwireguard-openbsd-b7462092f5a2f96c002bdfa19702d8e6693e65a6.tar.xz
wireguard-openbsd-b7462092f5a2f96c002bdfa19702d8e6693e65a6.zip
Add macros for interrupt trigger mode as encoded in GPIO resources.
-rw-r--r--sys/dev/acpi/dsdt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/dsdt.h b/sys/dev/acpi/dsdt.h
index bce0c097a87..d9d39a22115 100644
--- a/sys/dev/acpi/dsdt.h
+++ b/sys/dev/acpi/dsdt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.h,v 1.70 2016/03/30 09:56:10 kettenis Exp $ */
+/* $OpenBSD: dsdt.h,v 1.71 2016/05/08 00:03:12 kettenis Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -242,6 +242,8 @@ union acpi_resource {
#define LR_GPIO_ACTLO (1L << 1)
#define LR_GPIO_ACTBOTH (2L << 1)
#define LR_GPIO_MODE (1L << 0)
+#define LR_GPIO_LEVEL (0L << 0)
+#define LR_GPIO_EDGE (1L << 0)
uint8_t _ppi;
uint16_t _drs;
uint16_t _dbt;