summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-08-18 05:48:24 +0000
committernjl <njl@FreeBSD.org>2004-08-18 05:48:24 +0000
commit0e6427381e008c3a084230747d2861111279c8fd (patch)
tree25a0ad7d53db15af2d1c684fdfde9aa8ed92b1fc /sys/dev/acpica/acpivar.h
parent32184298650decaeb04049e9140a43cbe6fe89d4 (diff)
downloadFreeBSD-src-0e6427381e008c3a084230747d2861111279c8fd.zip
FreeBSD-src-0e6427381e008c3a084230747d2861111279c8fd.tar.gz
Remove the ACPIIO_ENABLE and ACPIIO_DISABLE ioctls as well as all
callers. These ioctls attempted to enable and disable the ACPI interpreter at runtime. In practice, it is not possible to boot with ACPI and then disable it on many systems and trying to do so can cause crashes, interrupt storms, etc. Binary compatibility with userland is retained. MFC after: 2 days
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 53b33e4..477f590 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -274,8 +274,6 @@ int acpi_wake_init(device_t dev, int type);
int acpi_wake_set_enable(device_t dev, int enable);
int acpi_parse_prw(ACPI_HANDLE h, struct acpi_prw_data *prw);
ACPI_STATUS acpi_Startup(void);
-ACPI_STATUS acpi_Enable(struct acpi_softc *sc);
-ACPI_STATUS acpi_Disable(struct acpi_softc *sc);
void acpi_UserNotify(const char *subsystem, ACPI_HANDLE h,
uint8_t notify);
struct resource *acpi_bus_alloc_gas(device_t dev, int *rid,
OpenPOWER on IntegriCloud