-/* $OpenBSD: acpi.c,v 1.177 2010/07/18 19:49:35 mlarkin Exp $ */
+/* $OpenBSD: acpi.c,v 1.178 2010/07/19 16:40:14 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
#define pch(x) (((x)>=' ' && (x)<='z') ? (x) : ' ')
-#if 0
-void
-acpi_delay(struct acpi_softc *sc, int64_t uSecs)
-{
- /* XXX this needs to become a tsleep later */
- delay(uSecs);
-}
-#endif
-
int
acpi_gasio(struct acpi_softc *sc, int iodir, int iospace, uint64_t address,
int access_size, int len, void *buffer)
-/* $OpenBSD: acpivar.h,v 1.59 2010/07/13 21:01:05 deraadt Exp $ */
+/* $OpenBSD: acpivar.h,v 1.60 2010/07/19 16:40:14 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
*
#define ACPI_IOREAD 0
#define ACPI_IOWRITE 1
-void acpi_delay(struct acpi_softc *, int64_t);
void acpi_wakeup(void *);
int acpi_gasio(struct acpi_softc *, int, int, uint64_t, int, int, void *);