summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2006-07-29 21:46:16 +0000
committernjl <njl@FreeBSD.org>2006-07-29 21:46:16 +0000
commit8d135813437d360c341f38b4d8194eb1ad2c81d0 (patch)
treef0c4729f0c4ce0b3e5567a510039e5f0c5b8c62f /sys/dev/acpica/acpivar.h
parent945abe38da0420943cb33deb7e17a2911fcdb704 (diff)
downloadFreeBSD-src-8d135813437d360c341f38b4d8194eb1ad2c81d0.zip
FreeBSD-src-8d135813437d360c341f38b4d8194eb1ad2c81d0.tar.gz
Add a new sysctl, hw.acpi.handle_reboot. If set, acpi will attempt to
perform the reboot action via the reset register instead of our legacy method. Default is 0 (use legacy). This is needed because some systems hang on reboot even though they claim to support the reset register. MFC after: 2 days
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 1618287..df3940a 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -47,7 +47,7 @@
struct acpi_softc {
device_t acpi_dev;
- struct cdev *acpi_dev_t;
+ struct cdev *acpi_dev_t;
struct resource *acpi_irq;
int acpi_irq_rid;
@@ -70,6 +70,7 @@ struct acpi_softc {
int acpi_s4bios;
int acpi_do_disable;
int acpi_verbose;
+ int acpi_handle_reboot;
bus_dma_tag_t acpi_waketag;
bus_dmamap_t acpi_wakemap;
OpenPOWER on IntegriCloud