summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-04-29 18:50:34 +0000
committernjl <njl@FreeBSD.org>2003-04-29 18:50:34 +0000
commit32b2682952c56d1802d387c87c361a5b0e28ae05 (patch)
tree65beb1553eb37160f7d2c71eddc0083cb96d1c32 /usr.sbin/acpi
parentac2712d2c827e8b00cf0d1ec14e773ee4ff49eee (diff)
downloadFreeBSD-src-32b2682952c56d1802d387c87c361a5b0e28ae05.zip
FreeBSD-src-32b2682952c56d1802d387c87c361a5b0e28ae05.tar.gz
Support functions for the new ACPI import.
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the acpi parse tree. * AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to override the value for _OS. Ideas from: takawata, jhb Reviewed by: takawata, marcel Tested on: i386, ia64
Diffstat (limited to 'usr.sbin/acpi')
-rw-r--r--usr.sbin/acpi/acpiconf/acpiconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c
index 3d83803..584e23a 100644
--- a/usr.sbin/acpi/acpiconf/acpiconf.c
+++ b/usr.sbin/acpi/acpiconf/acpiconf.c
@@ -38,8 +38,7 @@
#include <dev/acpica/acpiio.h>
-#include <contrib/dev/acpica/acfreebsd.h>
-#include <contrib/dev/acpica/actypes.h>
+#include <contrib/dev/acpica/acpi.h>
#define ACPIDEV "/dev/acpi"
OpenPOWER on IntegriCloud