summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-10-08 17:56:47 +0000
committernjl <njl@FreeBSD.org>2004-10-08 17:56:47 +0000
commita21b1cf36444909647d4f1e3ffa4fad0ce8f9393 (patch)
tree6278a5605d9cd753b3842489da17f30eca25e380 /sys/dev/acpica/acpivar.h
parentb5e56e2ca94c36a11a6f85a78382b218156e054b (diff)
downloadFreeBSD-src-a21b1cf36444909647d4f1e3ffa4fad0ce8f9393.zip
FreeBSD-src-a21b1cf36444909647d4f1e3ffa4fad0ce8f9393.tar.gz
Update a quirk for the ASUS P5A to disable the timer. It appears to work fine
with acpi but the timer runs twice as fast. Note that the main problem (system doesn't work properly with acpi disabled) should be fixed separately. Changes: * Add a quirk to disable the timer * Merge the P5A and P5A-B quirks since they appear to be based on the same ASL. PR: i386/72450 Tested by: Kevin Oberman <oberman es.net> MFC after: 3 days
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 3722160..88d041c 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -161,8 +161,10 @@ extern struct mtx acpi_mutex;
#define ACPI_INTR_SAPIC 2
/* Quirk flags. */
+extern int acpi_quirks;
#define ACPI_Q_OK 0
#define ACPI_Q_BROKEN (1 << 0) /* Disable ACPI completely. */
+#define ACPI_Q_TIMER (1 << 1) /* Disable ACPI timer. */
/*
* Note that the low ivar values are reserved to provide
OpenPOWER on IntegriCloud