From 8f4a0450d9cc554868c50d899b0d3be3a216b976 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 21 Mar 2002 01:02:10 +0000 Subject: better cache mode print --- sys/arch/hppa/dev/cpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa') 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 = ""; -- cgit v1.2.3