summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpitz.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpitz.c b/sys/dev/acpi/acpitz.c
index 9b99ffe841d..f1a56860bce 100644
--- a/sys/dev/acpi/acpitz.c
+++ b/sys/dev/acpi/acpitz.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpitz.c,v 1.27 2008/09/11 12:45:20 miod Exp $ */
+/* $OpenBSD: acpitz.c,v 1.28 2008/09/12 12:35:19 miod Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
@@ -248,7 +248,8 @@ acpitz_setfan(struct acpitz_softc *sc, int i, char *method)
if (ref->type == AML_OBJTYPE_OBJREF) {
ref = ref->v_objref.ref;
}
- if (ref->type != AML_OBJTYPE_DEVICE) {
+ if (ref->type != AML_OBJTYPE_DEVICE &&
+ ref->type != AML_OBJTYPE_POWERRSRC) {
printf("%s: %s[%d.%d] _PRO not a package\n",
DEVNAME(sc), name, x, y);
continue;