summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r--sys/dev/acpi/acpivar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h
index ff369eeb5eb..706a2ae2147 100644
--- a/sys/dev/acpi/acpivar.h
+++ b/sys/dev/acpi/acpivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpivar.h,v 1.114 2021/03/15 22:44:57 patrick Exp $ */
+/* $OpenBSD: acpivar.h,v 1.115 2021/12/26 13:55:36 kettenis Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
@@ -56,6 +56,10 @@ struct acpivideo_softc {
struct aml_node *sc_devnode;
};
+#define ACPIDEVCF_ADDR 0
+#define acpidevcf_addr cf_loc[ACPIDEVCF_ADDR]
+#define ACPIDEVCF_ADDR_UNK -1
+
struct acpi_attach_args {
char *aaa_name;
bus_space_tag_t aaa_iot;