summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjordan <jordan@openbsd.org>2011-01-09 22:27:21 +0000
committerjordan <jordan@openbsd.org>2011-01-09 22:27:21 +0000
commite3fff84a640659b7eb2a6c49d234b45a070da09d (patch)
tree57b9fa4b81c55a9de9770111f987295665fc9b2a
parentMinor tweaks to nc(1) man page and usage. (diff)
downloadwireguard-openbsd-e3fff84a640659b7eb2a6c49d234b45a070da09d.tar.xz
wireguard-openbsd-e3fff84a640659b7eb2a6c49d234b45a070da09d.zip
Continue loading acpiec even if _REG fails.. allows HP G62 to work properly
Linux does the same with error message. _REG only notifies AML that acpiec config space is available. ok marco
-rw-r--r--sys/dev/acpi/acpiec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpiec.c b/sys/dev/acpi/acpiec.c
index 8df796d259b..0eda990812a 100644
--- a/sys/dev/acpi/acpiec.c
+++ b/sys/dev/acpi/acpiec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiec.c,v 1.43 2010/08/08 17:25:41 kettenis Exp $ */
+/* $OpenBSD: acpiec.c,v 1.44 2011/01/09 22:27:21 jordan Exp $ */
/*
* Copyright (c) 2006 Can Erkin Acar <canacar@openbsd.org>
*
@@ -509,7 +509,7 @@ acpiec_reg(struct acpiec_softc *sc)
if (aml_evalname(sc->sc_acpi, sc->sc_devnode, "_REG", 2,
arg, NULL) != 0) {
dnprintf(10, "%s: eval method _REG failed\n", DEVNAME(sc));
- return (1);
+ printf("acpiec _REG failed, broken BIOS\n");
}
return (0);