summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpivar.h
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2009-04-17 13:20:21 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2009-04-17 13:20:21 +0000
commit97fd951e28abb02358d4986b1e309b2bef382464 (patch)
treefd1c491a32553af999977be56c28bff348e07605 /sys/dev/acpi/acpivar.h
parentdd7bf6fd9024ae08a4fb270d160c53b09ff09a07 (diff)
Add device ranking support for future sleep/wake developments.
okay marco@
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r--sys/dev/acpi/acpivar.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h
index 981a154eae3..c2875818b19 100644
--- a/sys/dev/acpi/acpivar.h
+++ b/sys/dev/acpi/acpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpivar.h,v 1.46 2009/02/19 21:02:05 marco Exp $ */
+/* $OpenBSD: acpivar.h,v 1.47 2009/04/17 13:20:20 pirofti Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -225,6 +225,12 @@ struct acpi_table {
void *table;
};
+struct acpi_dev_rank {
+ struct device *dev;
+ int rank;
+ TAILQ_ENTRY(acpi_dev_rank) link;
+};
+
#define ACPI_IOC_GETFACS _IOR('A', 0, struct acpi_facs)
#define ACPI_IOC_GETTABLE _IOWR('A', 1, struct acpi_table)
#define ACPI_IOC_SETSLEEPSTATE _IOW('A', 2, int)