diff options
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r-- | sys/dev/acpi/acpivar.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index 7d44290b6a0..32dca939a39 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.55 2009/11/26 23:44:38 mlarkin Exp $ */ +/* $OpenBSD: acpivar.h,v 1.56 2010/03/31 19:21:19 kettenis Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -239,8 +239,14 @@ struct acpi_softc { int sc_revision; int sc_pse; /* passive cooling enabled */ + + int sc_flags; }; +#define SCFLAG_OREAD 0x0000001 +#define SCFLAG_OWRITE 0x0000002 +#define SCFLAG_OPEN (SCFLAG_OREAD|SCFLAG_OWRITE) + #define GPE_NONE 0x00 #define GPE_LEVEL 0x01 #define GPE_EDGE 0x02 @@ -313,6 +319,8 @@ void acpi_poll(void *); int acpi_matchhids(struct acpi_attach_args *, const char *[], const char *); +int acpi_record_event(struct acpi_softc *, u_int); + #endif #endif /* !_ACPI_WAKECODE */ |