summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-12-22 20:27:20 +0000
committerjhb <jhb@FreeBSD.org>2010-12-22 20:27:20 +0000
commit71a1f7ac01372cab54938b82686da247a2117f93 (patch)
treec2589ab1381a2d170e83957086885125055ff861 /sys/dev/acpica/acpivar.h
parent940b86ebdccd1f22427e953eccea0f4bc2f5ba06 (diff)
downloadFreeBSD-src-71a1f7ac01372cab54938b82686da247a2117f93.zip
FreeBSD-src-71a1f7ac01372cab54938b82686da247a2117f93.tar.gz
Use resource_list_reserve() to reserve I/O port and memory resources for
ACPI devices even if they are not allocated by a device driver since the resources are in use and should not be allocated to another device.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 5d5f9ca..b5cac8d 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -58,6 +58,7 @@ struct acpi_softc {
int acpi_enabled;
int acpi_sstate;
int acpi_sleep_disabled;
+ int acpi_resources_reserved;
struct sysctl_ctx_list acpi_sysctl_ctx;
struct sysctl_oid *acpi_sysctl_tree;
OpenPOWER on IntegriCloud