From 32b2682952c56d1802d387c87c361a5b0e28ae05 Mon Sep 17 00:00:00 2001 From: njl Date: Tue, 29 Apr 2003 18:50:34 +0000 Subject: 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 --- usr.sbin/acpi/acpiconf/acpiconf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.sbin/acpi') 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 -#include -#include +#include #define ACPIDEV "/dev/acpi" -- cgit v1.1