diff options
author | imp <imp@FreeBSD.org> | 2006-01-01 20:59:28 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-01-01 20:59:28 +0000 |
commit | 8d9b67a0e378cbaea6283277f0df79d2ebbbe26b (patch) | |
tree | c4bed81f55898e2e761741fc45085dd6e2945181 | |
parent | 12d4e274cbdbb0d9d6f1c0bdccd55cf631e1d634 (diff) | |
download | FreeBSD-src-8d9b67a0e378cbaea6283277f0df79d2ebbbe26b.zip FreeBSD-src-8d9b67a0e378cbaea6283277f0df79d2ebbbe26b.tar.gz |
Define __HAVE_ACPI and/or __PCI_REROUTE_INTERRUPT, as appropriate for
each platform. These will be used in the pci code in preference to
the complicated #ifdefs we have there now.
-rw-r--r-- | sys/alpha/include/_types.h | 2 | ||||
-rw-r--r-- | sys/amd64/include/_types.h | 2 | ||||
-rw-r--r-- | sys/arm/include/_types.h | 2 | ||||
-rw-r--r-- | sys/i386/include/_types.h | 2 | ||||
-rw-r--r-- | sys/ia64/include/_types.h | 3 | ||||
-rw-r--r-- | sys/pc98/include/_types.h | 2 |
6 files changed, 13 insertions, 0 deletions
diff --git a/sys/alpha/include/_types.h b/sys/alpha/include/_types.h index a8acbbb..88ae6e5 100644 --- a/sys/alpha/include/_types.h +++ b/sys/alpha/include/_types.h @@ -43,6 +43,8 @@ #error this file needs sys/cdefs.h as a prerequisite #endif +#define __PCI_REROUTE_INTERRUPT + /* * Basic types upon which most other types are built. */ diff --git a/sys/amd64/include/_types.h b/sys/amd64/include/_types.h index 4217c82..d129b21 100644 --- a/sys/amd64/include/_types.h +++ b/sys/amd64/include/_types.h @@ -44,6 +44,8 @@ #endif #define __NO_STRICT_ALIGNMENT +#define __HAVE_ACPI +#define __PCI_REROUTE_INTERRUPT /* * Basic types upon which most other types are built. diff --git a/sys/arm/include/_types.h b/sys/arm/include/_types.h index c700f52..8775b96 100644 --- a/sys/arm/include/_types.h +++ b/sys/arm/include/_types.h @@ -43,6 +43,8 @@ #error this file needs sys/cdefs.h as a prerequisite #endif +#define __PCI_REROUTE_INTERRUPT + /* * Basic types upon which most other types are built. */ diff --git a/sys/i386/include/_types.h b/sys/i386/include/_types.h index b272cf0..1238183 100644 --- a/sys/i386/include/_types.h +++ b/sys/i386/include/_types.h @@ -44,6 +44,8 @@ #endif #define __NO_STRICT_ALIGNMENT +#define __HAVE_ACPI +#define __PCI_REROUTE_INTERRUPT /* * Basic types upon which most other types are built. diff --git a/sys/ia64/include/_types.h b/sys/ia64/include/_types.h index 8fc1be2..5143ad4 100644 --- a/sys/ia64/include/_types.h +++ b/sys/ia64/include/_types.h @@ -43,6 +43,9 @@ #error this file needs sys/cdefs.h as a prerequisite #endif +#define __HAVE_ACPI +#define __PCI_REROUTE_INTERRUPT + /* * Basic types upon which most other types are built. */ diff --git a/sys/pc98/include/_types.h b/sys/pc98/include/_types.h index 63da67a..b5ff4b1 100644 --- a/sys/pc98/include/_types.h +++ b/sys/pc98/include/_types.h @@ -4,3 +4,5 @@ /* $FreeBSD$ */ #include <i386/_types.h> + +#undef __HAVE_ACPI |