From 27702492979ffafd33231aa990af5234ba5534ad Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 18 Jul 2008 03:54:18 +0000 Subject: [PATCH] POLL causes concurrency issues with event driven batteries. Remove for now until I have time to implement proper fix. Noted by several folks. --- sys/dev/acpi/acpiac.c | 4 ++-- 1 file 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 * @@ -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 "); -- 2.20.1