summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2011-04-15 17:34:51 +0000
committeroga <oga@openbsd.org>2011-04-15 17:34:51 +0000
commitc31cd03c5499b6d8d21d7ba4a0c83d358200a73b (patch)
tree37a8ec26d5a9ad28ab481070ba4e6b553039350e
parentteach walk_queue() about the new disk-queue layout (diff)
downloadwireguard-openbsd-c31cd03c5499b6d8d21d7ba4a0c83d358200a73b.tar.xz
wireguard-openbsd-c31cd03c5499b6d8d21d7ba4a0c83d358200a73b.zip
Remove the acpi event definitions. They've not been used for over a
year. acpi needs to use the apm definitions so that apmd speaks the same language as it, so it uses the ones in apmvar.h these days. ``sure'' marco@
-rw-r--r--sys/dev/acpi/acpivar.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h
index ed21551dea5..03e6224affe 100644
--- a/sys/dev/acpi/acpivar.h
+++ b/sys/dev/acpi/acpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpivar.h,v 1.70 2011/04/06 21:16:13 martynas Exp $ */
+/* $OpenBSD: acpivar.h,v 1.71 2011/04/15 17:34:51 oga Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -268,15 +268,6 @@ struct acpi_dev_rank {
#define ACPI_IOC_GETTABLE _IOWR('A', 1, struct acpi_table)
#define ACPI_IOC_SETSLEEPSTATE _IOW('A', 2, int)
-#define ACPI_EV_PWRBTN 0x0001 /* Power button was pushed */
-#define ACPI_EV_SLPBTN 0x0002 /* Sleep button was pushed */
-
-#define ACPI_EVENT_MASK 0x0003
-
-#define ACPI_EVENT_COMPOSE(t,i) (((i) & 0x7fff) << 16 | ((t) & ACPI_EVENT_MASK))
-#define ACPI_EVENT_TYPE(e) ((e) & ACPI_EVENT_MASK)
-#define ACPI_EVENT_INDEX(e) ((e) >> 16)
-
#if defined(_KERNEL)
struct acpi_gas;
int acpi_map_address(struct acpi_softc *, struct acpi_gas *, bus_addr_t, bus_size_t,