summaryrefslogtreecommitdiff
path: root/sys/arch/arc/dti
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1998-01-28 13:46:39 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1998-01-28 13:46:39 +0000
commitf66efdaa0ee892ee683d1f77196728dd915db7c0 (patch)
tree95abaee36773f8e27e6f5cf217fa840b457f12c9 /sys/arch/arc/dti
parentfbd6c9ead48be65a615a557d3d9e610d26a02fb9 (diff)
Moving around files for new mips arch layout
Diffstat (limited to 'sys/arch/arc/dti')
-rw-r--r--sys/arch/arc/dti/btl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/arc/dti/btl.c b/sys/arch/arc/dti/btl.c
index 823758b33f3..7721241efa8 100644
--- a/sys/arch/arc/dti/btl.c
+++ b/sys/arch/arc/dti/btl.c
@@ -69,7 +69,7 @@
#include <dev/isa/isavar.h>
#include <arc/dti/btlreg.h>
-#include <arc/arc/arctype.h> /* XXX for cpu types */
+#include <mips/archtype.h> /* XXX for cpu types */
#ifndef DDB
#define Debugger() panic("should call debugger here (bt742a.c)")
@@ -100,11 +100,11 @@ struct bt_mbx {
struct bt_mbx_in *tmbi; /* Target Mail Box in */
};
-extern int cputype; /* XXX */
+extern int system_type; /* XXX */
-#define KVTOPHYS(x) ((cputype == DESKSTATION_TYNE) ? \
+#define KVTOPHYS(x) ((system_type == DESKSTATION_TYNE) ? \
(((int)(x) & 0x7fffff) | 0x800000) : ((int)(x)))
-#define PHYSTOKV(x) ((cputype == DESKSTATION_TYNE) ? \
+#define PHYSTOKV(x) ((system_type == DESKSTATION_TYNE) ? \
(((int)(x) & 0x7fffff) | TYNE_V_BOUNCE) : ((int)(x)))
#include "aha.h"
@@ -391,7 +391,7 @@ btattach(parent, self, aux)
/*
* create mbox area
*/
- if (cputype == DESKSTATION_TYNE) {
+ if (system_type == DESKSTATION_TYNE) {
bouncebase = TYNE_V_BOUNCE;
bouncesize = TYNE_S_BOUNCE;
} else {