summaryrefslogtreecommitdiff
path: root/sys/arch/mips64
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-20 15:43:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-20 15:43:36 +0000
commitd32110037dfb827dc66348aa0ef0c01d6899aa29 (patch)
treeebe2aab79bb41ad38b904543b327ef9f8cfe2edb /sys/arch/mips64
parent057eaadf7b7414d826f8463ecaacc7c7d714ac12 (diff)
There was one CF_5_xx constant left in the 52xx code, change it to CF_52_xx
(purely cosmetic, as these constant share the same values).
Diffstat (limited to 'sys/arch/mips64')
-rw-r--r--sys/arch/mips64/mips64/cache_r5k.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mips64/mips64/cache_r5k.S b/sys/arch/mips64/mips64/cache_r5k.S
index 549c7ea81a6..d7333e35b98 100644
--- a/sys/arch/mips64/mips64/cache_r5k.S
+++ b/sys/arch/mips64/mips64/cache_r5k.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cache_r5k.S,v 1.11 2004/09/20 11:04:23 pefo Exp $ */
+/* $OpenBSD: cache_r5k.S,v 1.12 2004/09/20 15:43:35 miod Exp $ */
/*
* Copyright (c) 1998-2004 Opsycon AB (www.opsycon.se)
@@ -96,8 +96,8 @@
/*
* R5000 config register bits.
*/
-#define CF_5_SC (1 << 17) /* Secondary cache not present */
#define CF_5_SE (1 << 12) /* Secondary cache enable */
+#define CF_5_SC (1 << 17) /* Secondary cache not present */
#define CF_5_SS (3 << 20) /* Secondary cache size */
#define CF_5_SS_AL 20 /* Shift to align */
@@ -255,7 +255,7 @@ Conf52K: # R5200 type, check for L2 cache
srl t1, CF_52_SS_AL
or t2, CTYPE_HAS_XL2 # External L2 present.
- li t3, CF_5_SE # Set SE in conf
+ li t3, CF_52_SE # Set SE in conf
or v0, t3 # Update config register
li ta2, 512*1024 # 512k per 'click'.
sll ta2, t1