diff options
author | njl <njl@FreeBSD.org> | 2004-06-30 04:42:29 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-06-30 04:42:29 +0000 |
commit | 53a70792e9096e1fa022cf319d27bf15d6e708e1 (patch) | |
tree | 8a832cc3ca2ad23ae8699b1eb1c736f70fe921af /sys/dev/acpica | |
parent | dc22443bf3d78b6245f02a145e4224606b77eae5 (diff) | |
download | FreeBSD-src-53a70792e9096e1fa022cf319d27bf15d6e708e1.zip FreeBSD-src-53a70792e9096e1fa022cf319d27bf15d6e708e1.tar.gz |
Add machdep quirks functions. On i386, this disables acpi on systems with
BIOS dates earlier than Jan 1, 1999. Add prototypes and quirks flags.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index b3da307..41c424c4f 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -141,6 +141,10 @@ struct acpi_prw_data { #define ACPI_INTR_APIC 1 #define ACPI_INTR_SAPIC 2 +/* Quirk flags. */ +#define ACPI_Q_OK 0 +#define ACPI_Q_BROKEN (1 << 0) /* Disable ACPI completely. */ + /* * Note that the low ivar values are reserved to provide * interface compatibility with ISA drivers which can also @@ -321,6 +325,8 @@ int acpi_disabled(char *subsys); int acpi_machdep_init(device_t dev); void acpi_install_wakeup_handler(struct acpi_softc *sc); int acpi_sleep_machdep(struct acpi_softc *sc, int state); +int acpi_table_quirks(int *quirks); +int acpi_machdep_quirks(int *quirks); /* Battery Abstraction. */ struct acpi_battinfo; |