summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-21 01:02:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-03-21 01:02:10 +0000
commit8f4a0450d9cc554868c50d899b0d3be3a216b976 (patch)
treee4882a2ad7f50c218836581c772dc4d62f37e5dd
parentb8b6bd2c7803b6a10737b6909ea85f22fabff62c (diff)
better cache mode print
-rw-r--r--sys/arch/hppa/dev/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c
index 5fa4e307c3d..724466e33c2 100644
--- a/sys/arch/hppa/dev/cpu.c
+++ b/sys/arch/hppa/dev/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.14 2002/03/19 01:30:46 mickey Exp $ */
+/* $OpenBSD: cpu.c,v 1.15 2002/03/21 01:02:09 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -165,9 +165,9 @@ cpuattach(parent, self, aux)
p = "D";
}
/* TODO decode associativity */
- printf("%uK(%db/l) %s %scoherent %scache, ",
+ printf("%uK(%db/l) wr-%s %scoherent %scache, ",
pdc_cache.dc_size / 1024, pdc_cache.dc_conf.cc_line * 16,
- pdc_cache.dc_conf.cc_wt? "w-thru" : "w-back",
+ pdc_cache.dc_conf.cc_wt? "thru" : "back",
pdc_cache.dc_conf.cc_cst? "" : "in", p);
p = "";