diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-05 20:07:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-01-05 20:07:04 +0000 |
commit | 0f9007bdf8052135f73f8435f523cc9d17c25c7e (patch) | |
tree | 848d16d39c3849ffa1ff2996ffcf3c6db97c24e3 /sys/arch/mvme88k/dev/sram.c | |
parent | 58305188ee7cc98831887ace149141a9ebde3b53 (diff) |
Stop masquerading the M8120 (no-slot MVME187) as a real MVME187, and keep
its value in brdtyp.
Compensate by checking for BRD_8120 everywhere BRD_187 was checked.
Diffstat (limited to 'sys/arch/mvme88k/dev/sram.c')
-rw-r--r-- | sys/arch/mvme88k/dev/sram.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/sram.c b/sys/arch/mvme88k/dev/sram.c index c56d894e4a7..485327593d1 100644 --- a/sys/arch/mvme88k/dev/sram.c +++ b/sys/arch/mvme88k/dev/sram.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sram.c,v 1.13 2004/01/01 19:59:22 miod Exp $ */ +/* $OpenBSD: sram.c,v 1.14 2004/01/05 20:06:59 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -67,7 +67,7 @@ srammatch(parent, vcf, args) { struct confargs *ca = args; - if (brdtyp != BRD_187) /* The only one... */ + if (brdtyp != BRD_187 && brdtyp != BRD_8120) /* The only one... */ return (0); ca->ca_paddr = (void *)0xffe00000; @@ -87,6 +87,7 @@ sramattach(parent, self, args) switch (brdtyp) { #ifdef MVME187 case BRD_187: + case BRD_8120: sc->sc_len = 128*1024; /* always 128K */ break; #endif |