aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2006-01-01 20:59:28 +0000
committerWarner Losh <imp@FreeBSD.org>2006-01-01 20:59:28 +0000
commit501755f4f61fef5716992ea6d59cfba80eef84ee (patch)
treec4bed81f55898e2e761741fc45085dd6e2945181
parent70261a611f26566b1f80bdbe0eeb31ea7a961448 (diff)
downloadsrc-501755f4f61fef5716992ea6d59cfba80eef84ee.tar.gz
src-501755f4f61fef5716992ea6d59cfba80eef84ee.zip
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.
Notes
Notes: svn path=/head/; revision=153955
-rw-r--r--sys/alpha/include/_types.h2
-rw-r--r--sys/amd64/include/_types.h2
-rw-r--r--sys/arm/include/_types.h2
-rw-r--r--sys/i386/include/_types.h2
-rw-r--r--sys/ia64/include/_types.h3
-rw-r--r--sys/pc98/include/_types.h2
6 files changed, 13 insertions, 0 deletions
diff --git a/sys/alpha/include/_types.h b/sys/alpha/include/_types.h
index a8acbbbce351..88ae6e539fc8 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 4217c82b060b..d129b217fb60 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 c700f523caf1..8775b9622a5d 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 b272cf0f3f8f..1238183ab92a 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 8fc1be2f3873..5143ad492923 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 63da67a982a2..b5ff4b15732b 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