summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpidebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi/acpidebug.c')
-rw-r--r--sys/dev/acpi/acpidebug.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/acpi/acpidebug.c b/sys/dev/acpi/acpidebug.c
index 767d4e64648..0f3f81e4579 100644
--- a/sys/dev/acpi/acpidebug.c
+++ b/sys/dev/acpi/acpidebug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpidebug.c,v 1.22 2008/06/12 20:36:50 jordan Exp $ */
+/* $OpenBSD: acpidebug.c,v 1.23 2009/05/30 22:49:56 jordan Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@openbsd.org>
*
@@ -100,7 +100,7 @@ db_aml_showvalue(struct aml_value *value)
if (value->node)
db_printf("[%s] ", aml_nodename(value->node));
- switch (value->type & ~AML_STATIC) {
+ switch (value->type) {
case AML_OBJTYPE_OBJREF:
db_printf("refof: %x {\n", value->v_objref.index);
db_aml_showvalue(value->v_objref.ref);
@@ -110,8 +110,7 @@ db_aml_showvalue(struct aml_value *value)
db_printf("nameref: %s\n", value->v_nameref);
break;
case AML_OBJTYPE_INTEGER:
- db_printf("integer: %llx %s\n", value->v_integer,
- (value->type & AML_STATIC) ? "(static)" : "");
+ db_printf("integer: %llx\n", value->v_integer);
break;
case AML_OBJTYPE_STRING:
db_printf("string: %s\n", value->v_string);
@@ -194,8 +193,6 @@ db_aml_objtype(struct aml_value *val)
return "nil";
switch (val->type) {
- case AML_OBJTYPE_INTEGER+AML_STATIC:
- return "staticint";
case AML_OBJTYPE_INTEGER:
return "integer";
case AML_OBJTYPE_STRING: