Module Name:    src
Committed By:   matt
Date:           Thu Aug  6 15:58:46 UTC 2009

Modified Files:
        src/sys/arch/mips/mips: cache.c

Log Message:
The Loongson2 secondary cache is unified.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/mips/mips/cache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/cache.c
diff -u src/sys/arch/mips/mips/cache.c:1.34 src/sys/arch/mips/mips/cache.c:1.35
--- src/sys/arch/mips/mips/cache.c:1.34	Thu Aug  6 01:27:47 2009
+++ src/sys/arch/mips/mips/cache.c	Thu Aug  6 15:58:46 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: cache.c,v 1.34 2009/08/06 01:27:47 matt Exp $	*/
+/*	$NetBSD: cache.c,v 1.35 2009/08/06 15:58:46 matt Exp $	*/
 
 /*
  * Copyright 2001, 2002 Wasabi Systems, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.34 2009/08/06 01:27:47 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache.c,v 1.35 2009/08/06 15:58:46 matt Exp $");
 
 #include "opt_cputype.h"
 #include "opt_mips_cache.h"
@@ -833,6 +833,7 @@
 		mips_sdcache_ways = 4;
 		mips_sdcache_size = 512*1024;
 		mips_sdcache_line_size = 32;
+		mips_scache_unified = 1;
 
 		mips_cache_ops.mco_sdcache_wbinv_all =
 		    r4k_sdcache_wbinv_all_32;

Reply via email to