summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpi_ec.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-10-16 17:28:53 +0000
committerjhb <jhb@FreeBSD.org>2002-10-16 17:28:53 +0000
commit4cd3dda29171288aa0573256111fd627b057ca9b (patch)
tree1b6f9ed7a4251559f2049f2eba5dec525f9d6ff1 /sys/dev/acpica/acpi_ec.c
parenta307d114081c6667904ee03c3fb7c2bc079ee3ce (diff)
downloadFreeBSD-src-4cd3dda29171288aa0573256111fd627b057ca9b.zip
FreeBSD-src-4cd3dda29171288aa0573256111fd627b057ca9b.tar.gz
Catch up to changes in acpivar.h to add support for using ACPI on
4-stable systems. Sponsored by: The Weather Channel
Diffstat (limited to 'sys/dev/acpica/acpi_ec.c')
-rw-r--r--sys/dev/acpica/acpi_ec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c
index cfb2239..96da6d3 100644
--- a/sys/dev/acpica/acpi_ec.c
+++ b/sys/dev/acpica/acpi_ec.c
@@ -618,9 +618,7 @@ EcWaitEventIntr(struct acpi_ec_softc *sc, EC_EVENT Event)
ACPI_FUNCTION_TRACE_U32((char *)(uintptr_t)__func__, (UINT32)Event);
/* XXX this should test whether interrupts are available some other way */
-#ifdef ACPI_EC_EVENT_DRIVEN
if(cold)
-#endif
return_ACPI_STATUS(EcWaitEvent(sc, Event));
if (!EcIsLocked(sc))
OpenPOWER on IntegriCloud