summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-06-12 22:19:18 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-06-12 22:19:18 +0000
commit3db51f267c6b8f358c5f1a7b7bb842badbf11bbf (patch)
treea8a286f1c4355b31572978a6e2ea32a0df4dbc00
parent39b2a60b195c9984470da478d3b248e1792f1730 (diff)
Poll AC because there are some crappy machines out there that need it.
-rw-r--r--sys/dev/acpi/acpiac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpiac.c b/sys/dev/acpi/acpiac.c
index 3e769887041..5cf1615d6a9 100644
--- a/sys/dev/acpi/acpiac.c
+++ b/sys/dev/acpi/acpiac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiac.c,v 1.22 2008/06/01 17:59:55 marco Exp $ */
+/* $OpenBSD: acpiac.c,v 1.23 2008/06/12 22:19:17 marco Exp $ */
/*
* Copyright (c) 2005 Marco Peereboom <marco@openbsd.org>
*
@@ -69,7 +69,7 @@ acpiac_attach(struct device *parent, struct device *self, void *aux)
sc->sc_devnode = aa->aaa_node;
aml_register_notify(sc->sc_devnode, aa->aaa_dev,
- acpiac_notify, sc, ACPIDEV_NOPOLL);
+ acpiac_notify, sc, ACPIDEV_POLL);
acpiac_getsta(sc);
printf(": AC unit ");