diff options
Diffstat (limited to 'sys/arch/mvme88k/dev/sram.c')
-rw-r--r-- | sys/arch/mvme88k/dev/sram.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/dev/sram.c b/sys/arch/mvme88k/dev/sram.c index 7b36cbca3cc..84d530d5aaa 100644 --- a/sys/arch/mvme88k/dev/sram.c +++ b/sys/arch/mvme88k/dev/sram.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sram.c,v 1.5 2001/12/13 08:55:51 smurph Exp $ */ +/* $OpenBSD: sram.c,v 1.6 2001/12/16 23:49:46 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -72,7 +72,7 @@ srammatch(parent, vcf, args) struct confargs *ca = args; int ret; - if (brdtyp != BRD_187) /* The only one... */ + if (cputyp != CPU_187) return (0); ca->ca_paddr = (void *)0xffe00000; @@ -101,20 +101,20 @@ sramattach(parent, self, args) struct mcreg *mc; int i; - switch (brdtyp) { + switch (cputyp) { #ifdef MVME167 - case BRD_167: - case BRD_166: + case CPU_167: + case CPU_166: sc->sc_len = 128*1024; /* always 128K */ break; #endif #ifdef MVME177 - case BRD_177: + case CPU_177: sc->sc_len = 128*1024; /* always 128K */ break; #endif #ifdef MVME187 - case BRD_187: + case CPU_187: sc->sc_len = 128*1024; /* always 128K */ break; #endif |