summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-07-18 03:54:19 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-07-18 03:54:19 +0000
commite0fd220b12a518582a25da4507633c6632dd5ec7 (patch)
tree0c26beaa08daac045157ef624bd11b4d97632c60 /sys
parent49776bdee7aad5f31b52ba126541b352ae33e12b (diff)
POLL causes concurrency issues with event driven batteries. Remove for now
until I have time to implement proper fix. Noted by several folks.
Diffstat (limited to 'sys')
-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 5cf1615d6a9..df35b923eea 100644
--- a/sys/dev/acpi/acpiac.c
+++ b/sys/dev/acpi/acpiac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiac.c,v 1.23 2008/06/12 22:19:17 marco Exp $ */
+/* $OpenBSD: acpiac.c,v 1.24 2008/07/18 03:54:18 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_POLL);
+ acpiac_notify, sc, ACPIDEV_NOPOLL);
acpiac_getsta(sc);
printf(": AC unit ");