summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-09-02 20:24:42 +0000
committermarcel <marcel@FreeBSD.org>2003-09-02 20:24:42 +0000
commit3a5e34ed9ea402d643342c93f0c33d054db0ab56 (patch)
tree9de25acd210a1a3f32edcac253ef52f11fbc5a94
parent6528e7760a0a9121cd7226e819f649b0e60f925b (diff)
downloadFreeBSD-src-3a5e34ed9ea402d643342c93f0c33d054db0ab56.zip
FreeBSD-src-3a5e34ed9ea402d643342c93f0c33d054db0ab56.tar.gz
Preparatory commit to allow prototypes in ofw_machdep.h to contain
both newbus types and OFW types. This involves either including <machine/bus.h> or <dev/ofw/openfirm.h>. Reviewed by: jake, jmg, tmm
-rw-r--r--sys/dev/gem/if_gem_pci.c1
-rw-r--r--sys/dev/hme/if_hme_pci.c1
-rw-r--r--sys/dev/hme/if_hme_sbus.c1
-rw-r--r--sys/sparc64/sparc64/machdep.c1
-rw-r--r--sys/sparc64/sparc64/mp_machdep.c1
-rw-r--r--sys/sparc64/sparc64/vm_machdep.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/gem/if_gem_pci.c b/sys/dev/gem/if_gem_pci.c
index 0383f0e..ecd1b10 100644
--- a/sys/dev/gem/if_gem_pci.c
+++ b/sys/dev/gem/if_gem_pci.c
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
#include <machine/bus.h>
#include <machine/resource.h>
+#include <dev/ofw/openfirm.h>
#include <machine/ofw_machdep.h>
#include <sys/rman.h>
diff --git a/sys/dev/hme/if_hme_pci.c b/sys/dev/hme/if_hme_pci.c
index 4e8630f..1d205ff 100644
--- a/sys/dev/hme/if_hme_pci.c
+++ b/sys/dev/hme/if_hme_pci.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/socket.h>
#include <machine/bus.h>
+#include <dev/ofw/openfirm.h>
#include <machine/ofw_machdep.h>
#include <machine/resource.h>
diff --git a/sys/dev/hme/if_hme_sbus.c b/sys/dev/hme/if_hme_sbus.c
index 7fa1640..503eb67 100644
--- a/sys/dev/hme/if_hme_sbus.c
+++ b/sys/dev/hme/if_hme_sbus.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <sys/socket.h>
#include <machine/bus.h>
+#include <dev/ofw/openfirm.h>
#include <machine/ofw_machdep.h>
#include <machine/resource.h>
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 505ba38..c0349f9 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -89,6 +89,7 @@
#include <ddb/ddb.h>
+#include <machine/bus.h>
#include <machine/cache.h>
#include <machine/clock.h>
#include <machine/cpu.h>
diff --git a/sys/sparc64/sparc64/mp_machdep.c b/sys/sparc64/sparc64/mp_machdep.c
index 7385a86..967ac5a 100644
--- a/sys/sparc64/sparc64/mp_machdep.c
+++ b/sys/sparc64/sparc64/mp_machdep.c
@@ -80,6 +80,7 @@
#include <machine/asi.h>
#include <machine/atomic.h>
+#include <machine/bus.h>
#include <machine/md_var.h>
#include <machine/metadata.h>
#include <machine/ofw_machdep.h>
diff --git a/sys/sparc64/sparc64/vm_machdep.c b/sys/sparc64/sparc64/vm_machdep.c
index 2672be0..9d4689b 100644
--- a/sys/sparc64/sparc64/vm_machdep.c
+++ b/sys/sparc64/sparc64/vm_machdep.c
@@ -76,6 +76,7 @@
#include <vm/uma_int.h>
#include <machine/cache.h>
+#include <machine/bus.h>
#include <machine/cpu.h>
#include <machine/fp.h>
#include <machine/fsr.h>
OpenPOWER on IntegriCloud