summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2016-09-27 10:04:20 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2016-09-27 10:04:20 +0000
commitebb96ce2bb9b3dcfb2ccd8bbec5fb00ea02c6e2e (patch)
tree2b6d80e909a068c872942e05bf8b62c2026fe2c9 /sys/dev/acpi
parentfa6098feca56f1fa46764700ed11f3dc11f46340 (diff)
Print the type of operation space that failed as there seem to be more of
these occurring recently.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/dsdt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 42dce2dd591..dee180faf98 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.224 2016/09/02 13:59:51 pirofti Exp $ */
+/* $OpenBSD: dsdt.c,v 1.225 2016/09/27 10:04:19 mlarkin Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -2472,7 +2472,8 @@ aml_rwfield(struct aml_value *fld, int bpos, int blen, struct aml_value *val,
val, mode, fld->v_field.flags);
break;
default:
- aml_die("Unsupported RegionSpace");
+ aml_die("Unsupported RegionSpace 0x%x",
+ ref1->v_opregion.iospace);
break;
}
} else if (mode == ACPI_IOREAD) {