summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/sram.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-12-19 07:04:43 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-12-19 07:04:43 +0000
commit8130d56a7bb2e09e2c8b782f3f4a54133a0bb161 (patch)
tree1dd36d374c7d72391551b03ca96630523b33efe7 /sys/arch/mvme88k/dev/sram.c
parent0941b7f1f3dcc38dc20d2613943aa615d5b3c25b (diff)
Introduce brdtyp and change what cputyp means.
Diffstat (limited to 'sys/arch/mvme88k/dev/sram.c')
-rw-r--r--sys/arch/mvme88k/dev/sram.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/dev/sram.c b/sys/arch/mvme88k/dev/sram.c
index 84d530d5aaa..b2d73c92d80 100644
--- a/sys/arch/mvme88k/dev/sram.c
+++ b/sys/arch/mvme88k/dev/sram.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sram.c,v 1.6 2001/12/16 23:49:46 miod Exp $ */
+/* $OpenBSD: sram.c,v 1.7 2001/12/19 07:04:41 smurph Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -72,7 +72,7 @@ srammatch(parent, vcf, args)
struct confargs *ca = args;
int ret;
- if (cputyp != CPU_187)
+ if (brdtyp != BRD_187) /* The only one... */
return (0);
ca->ca_paddr = (void *)0xffe00000;
@@ -101,20 +101,20 @@ sramattach(parent, self, args)
struct mcreg *mc;
int i;
- switch (cputyp) {
+ switch (brdtyp) {
#ifdef MVME167
- case CPU_167:
- case CPU_166:
+ case BRD_167:
+ case BRD_166:
sc->sc_len = 128*1024; /* always 128K */
break;
#endif
#ifdef MVME177
- case CPU_177:
+ case BRD_177:
sc->sc_len = 128*1024; /* always 128K */
break;
#endif
#ifdef MVME187
- case CPU_187:
+ case BRD_187:
sc->sc_len = 128*1024; /* always 128K */
break;
#endif