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

This commit is contained in:
ragge 1999-04-19 14:50:57 +00:00
parent 6954ab0ad7
commit d9010c853c
1 changed files with 3 additions and 2 deletions

View File

@ -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 @@ uvaxIII_conf(parent, self, aux)
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);