summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2000-10-01 08:17:47 +0000
committeriwasaki <iwasaki@FreeBSD.org>2000-10-01 08:17:47 +0000
commit7e501d290292b718afcb19ad5c255ee9f6aa92fc (patch)
tree2ea5f3d0c120314e28adb40ce59b1dce0b3c8938 /usr.sbin/acpi
parente7b7f959571826d94f67de64b15ea19011a50d51 (diff)
downloadFreeBSD-src-7e501d290292b718afcb19ad5c255ee9f6aa92fc.zip
FreeBSD-src-7e501d290292b718afcb19ad5c255ee9f6aa92fc.tar.gz
Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Now
that it's enabled in acpireg.h only if DIAGNOSTIC option is specified. ACPICA OSD functions will be compiled in machine/acpi_machdep.c again tentatively (if DIAGNOSTIC option is specified). # Should we have acpica_osd.c ?
Diffstat (limited to 'usr.sbin/acpi')
-rw-r--r--usr.sbin/acpi/amldb/aml/aml_common.c3
-rw-r--r--usr.sbin/acpi/amldb/aml/aml_region.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/acpi/amldb/aml/aml_common.c b/usr.sbin/acpi/amldb/aml/aml_common.c
index a00f971..da616a6 100644
--- a/usr.sbin/acpi/amldb/aml/aml_common.c
+++ b/usr.sbin/acpi/amldb/aml/aml_common.c
@@ -42,7 +42,10 @@
#include <sys/kernel.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
+#include <sys/bus.h>
+#include <machine/bus.h>
#include <dev/acpi/acpireg.h>
+#include <dev/acpi/acpivar.h>
#ifndef ACPI_NO_OSDFUNC_INLINE
#include <machine/acpica_osd.h>
#endif /* !ACPI_NO_OSDFUNC_INLINE */
diff --git a/usr.sbin/acpi/amldb/aml/aml_region.c b/usr.sbin/acpi/amldb/aml/aml_region.c
index a96b2b6..e643b66 100644
--- a/usr.sbin/acpi/amldb/aml/aml_region.c
+++ b/usr.sbin/acpi/amldb/aml/aml_region.c
@@ -35,12 +35,14 @@
#include "opt_acpi.h"
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/bus.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/rman.h>
#include <dev/acpi/acpireg.h>
+#include <dev/acpi/acpivar.h>
#include <dev/acpi/aml/aml_common.h>
#include <dev/acpi/aml/aml_region.h>
#include <dev/acpi/aml/aml_name.h>
OpenPOWER on IntegriCloud