From fea10fb4993cf7346ac3e8c29511c92835d7cb83 Mon Sep 17 00:00:00 2001 From: pk Date: Thu, 20 May 1999 10:06:39 +0000 Subject: [PATCH] Operate Hypersparc cache in write-back mode again. Remove `hypersparc under construction' message. --- sys/arch/sparc/sparc/cpu.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/arch/sparc/sparc/cpu.c b/sys/arch/sparc/sparc/cpu.c index ee3467090ff9..044a74a95d98 100644 --- a/sys/arch/sparc/sparc/cpu.c +++ b/sys/arch/sparc/sparc/cpu.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.92 1999/03/31 14:09:09 pk Exp $ */ +/* $NetBSD: cpu.c,v 1.93 1999/05/20 10:06:39 pk Exp $ */ /* * Copyright (c) 1996 @@ -1090,7 +1090,7 @@ viking_mmu_enable() /* ROSS Hypersparc */ struct module_info module_hypersparc = { /* UNTESTED */ CPUTYP_UNKNOWN, - VAC_WRITETHROUGH, /* should be:VAC_NONE/VAC_WRITEBACK*/ + VAC_WRITEBACK, cpumatch_hypersparc, getcacheinfo_obp, 0, @@ -1117,10 +1117,8 @@ cpumatch_hypersparc(sc, mp, node) int node; { sc->cpu_type = CPUTYP_HS_MBUS;/*XXX*/ -sc->flags |= CPUFLG_CACHE_MANDATORY; if (node == 0) sta(0, ASI_HICACHECLR, 0); - printf("warning: hypersparc support still under construction\n"); } void