summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme
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 /sys/dev/hme
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
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme_pci.c1
-rw-r--r--sys/dev/hme/if_hme_sbus.c1
2 files changed, 2 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud