summaryrefslogtreecommitdiff
path: root/sys/dev/ic/com.c
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-07 16:48:20 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1998-08-07 16:48:20 +0000
commit53796aa2246dd1e12da7ecff86653af747b67da4 (patch)
tree0516b8d9016ab0aa8c330ec65e98f1ce26c3c285 /sys/dev/ic/com.c
parentc87fea89216b5ed984732ff34c2a2e8009ea517c (diff)
com.c needs to know about mem mapped ports in ppc systems.
ncr.c and if_de.c needs some hooks for systems with ncr and dec ether chips on the motherboard that runs on odd clocks and doesn't support a srom. srom is emulated in machine dependent code. big endian support for ncr and dec ether finished. the 21040 have some more coding requirements if it is to run BE since it does not have the descriptor endian swap configuration bit.
Diffstat (limited to 'sys/dev/ic/com.c')
-rw-r--r--sys/dev/ic/com.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 5b614174dad..a5097188e87 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.38 1998/02/23 11:41:24 downsj Exp $ */
+/* $OpenBSD: com.c,v 1.39 1998/08/07 16:48:14 pefo Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*-
@@ -1608,7 +1608,11 @@ comcnprobe(cp)
#ifdef arc
bus_space_tag_t iot = &arc_bus_io;
#else
- bus_space_tag_t iot = 0;
+#ifdef power4e
+ bus_space_tag_t iot = &p4e_isa_io;
+#else
+ bus_space_tag_t iot = 0;
+#endif
#endif
bus_space_handle_t ioh;
int found;