diff options
author | Jordan Hargrave <jordan@cvs.openbsd.org> | 2011-01-09 22:27:22 +0000 |
---|---|---|
committer | Jordan Hargrave <jordan@cvs.openbsd.org> | 2011-01-09 22:27:22 +0000 |
commit | 708ec2150adf0efac1219292de76eae6a43a3fba (patch) | |
tree | 3158a3bd2bd7b426d0abdc87944d1dc62fce03e5 /sys/dev/acpi/acpiec.c | |
parent | 37bd8526a8031bf56e9dd935f5244dcca088c5cd (diff) |
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
Diffstat (limited to 'sys/dev/acpi/acpiec.c')
-rw-r--r-- | sys/dev/acpi/acpiec.c | 4 |
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); |