diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-10-26 21:27:54 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-10-26 21:27:54 +0000 |
commit | f2c68ab20523203af829074752aca31f47a5eb19 (patch) | |
tree | fded3f2a023fbe47dcf84c11c2bec375bb26ca5d /sys/arch/hppa | |
parent | 45d9a704043bb6d903980ddb43fdab60b7b817c6 (diff) |
simplify cache print a bit
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/dev/cpu.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c index 6e26257efb5..f0d3f7999b5 100644 --- a/sys/arch/hppa/dev/cpu.c +++ b/sys/arch/hppa/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.26 2004/09/14 23:39:32 mickey Exp $ */ +/* $OpenBSD: cpu.c,v 1.27 2004/10/26 21:27:53 mickey Exp $ */ /* * Copyright (c) 1998-2003 Michael Shalayeff @@ -137,11 +137,10 @@ cpuattach(parent, self, aux) pdc_cache.ic_size / 1024, pdc_cache.ic_conf.cc_line * 16); p = "D"; } - /* TODO decode associativity */ - printf("%uK(%db/l) wr-%s %scoherent %scache, ", + + printf("%uK(%db/l) wr-%s %scache, ", pdc_cache.dc_size / 1024, pdc_cache.dc_conf.cc_line * 16, - pdc_cache.dc_conf.cc_wt? "thru" : "back", - pdc_cache.dc_conf.cc_cst? "" : "in", p); + pdc_cache.dc_conf.cc_wt? "thru" : "back", p); p = ""; if (!pdc_cache.dt_conf.tc_sh) { |