1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Non-x86 platforms cannot use the ACPI includes. This should be fixed but

for now, only include the headers for i386, amd64, or ia64.

Pointed out by:	grehan
This commit is contained in:
Nate Lawson 2004-12-03 08:13:08 +00:00
parent b52c5e95b6
commit 161ad64e63
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138336

View File

@ -60,9 +60,13 @@ __FBSDID("$FreeBSD$");
#include "pcib_if.h"
#include "pci_if.h"
#if defined(__i386__) || defined(__amd64__) || defined (__ia64__)
#include <contrib/dev/acpica/acpi.h>
#include <dev/acpica/acpivar.h>
#include "acpi_if.h"
#else
#define ACPI_PWR_FOR_SLEEP(x, y, z)
#endif
static uint32_t pci_mapbase(unsigned mapreg);
static int pci_maptype(unsigned mapreg);