Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/vax Don't try to init the L2 cache if there is ...



details:   https://anonhg.NetBSD.org/src/rev/8949d2bd2435
branches:  trunk
changeset: 472042:8949d2bd2435
user:      ragge <ragge%NetBSD.org@localhost>
date:      Mon Apr 19 14:50:57 1999 +0000

description:
Don't try to init the L2 cache if there is no L2 cache. (KA640)

diffstat:

 sys/arch/vax/vax/ka650.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 13d436a5c965 -r 8949d2bd2435 sys/arch/vax/vax/ka650.c
--- a/sys/arch/vax/vax/ka650.c  Mon Apr 19 14:46:27 1999 +0000
+++ b/sys/arch/vax/vax/ka650.c  Mon Apr 19 14:50:57 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ka650.c,v 1.17 1999/02/02 18:37:21 ragge Exp $ */
+/*     $NetBSD: ka650.c,v 1.18 1999/04/19 14:50:57 ragge Exp $ */
 /*
  * Copyright (c) 1988 The Regents of the University of California.
  * All rights reserved.
@@ -109,7 +109,8 @@
            syssub == VAX_SIE_KA640 ? 4 : 5,
            syssub == VAX_SIE_KA655 ? 5 : 0,
            (vax_cpudata & 0xff), GETFRMREV(vax_siedata));
-       ka650setcache(CACHEON);
+       if (syssub != VAX_SIE_KA640)
+               ka650setcache(CACHEON);
        if (ctob(physmem) > ka650merr_ptr->merr_qbmbr) {
                printf("physmem(0x%x) > qbmbr(0x%x)\n",
                    ctob(physmem), (int)ka650merr_ptr->merr_qbmbr);



Home | Main Index | Thread Index | Old Index