summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi/acpidebug.c
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2008-06-06 09:15:32 +0000
committermarco <marco@openbsd.org>2008-06-06 09:15:32 +0000
commitdf33944c93675d51d10ebbc68988474b03529daf (patch)
tree7b9ceb78f937dcb8bc3e9fa0e012755c51794054 /sys/dev/acpi/acpidebug.c
parentAdd _?RS methods evaluation to obtain additional heuristics and setting (diff)
downloadwireguard-openbsd-df33944c93675d51d10ebbc68988474b03529daf.tar.xz
wireguard-openbsd-df33944c93675d51d10ebbc68988474b03529daf.zip
Shrink acpi some more for floppies and while here re-enable acpi on the
floppies. Fixes crazy sony vaio kettenis has. tested by deraadt ok deraadt jordan kettenis
Diffstat (limited to 'sys/dev/acpi/acpidebug.c')
-rw-r--r--sys/dev/acpi/acpidebug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpidebug.c b/sys/dev/acpi/acpidebug.c
index 1f9e0e9bb35..963f64dfdaf 100644
--- a/sys/dev/acpi/acpidebug.c
+++ b/sys/dev/acpi/acpidebug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidebug.c,v 1.19 2008/06/01 17:59:55 marco Exp $ */
+/* $OpenBSD: acpidebug.c,v 1.20 2008/06/06 09:15:32 marco Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@openbsd.org>
*
@@ -30,6 +30,7 @@
#include <dev/acpi/acpidebug.h>
#include <dev/acpi/dsdt.h>
+#ifdef DDB
void db_aml_disline(uint8_t *, int, const char *, ...);
void db_aml_disint(struct aml_scope *, int, int);
uint8_t *db_aml_disasm(struct aml_node *, uint8_t *, uint8_t *, int, int);
@@ -588,3 +589,4 @@ db_aml_disasm(struct aml_node *root, uint8_t *start, uint8_t *end,
aml_popscope(scope);
return pos;
}
+#endif