Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/prep/prep remove show CPU & L2 cache info routine.
details: https://anonhg.NetBSD.org/src/rev/d879604dbfb2
branches: trunk
changeset: 526120:d879604dbfb2
user: nonaka <nonaka%NetBSD.org@localhost>
date: Thu Apr 25 20:40:16 2002 +0000
description:
remove show CPU & L2 cache info routine.
diffstat:
sys/arch/prep/prep/ibm_machdep.c | 17 +----------------
1 files changed, 1 insertions(+), 16 deletions(-)
diffs (31 lines):
diff -r a8c8840fa746 -r d879604dbfb2 sys/arch/prep/prep/ibm_machdep.c
--- a/sys/arch/prep/prep/ibm_machdep.c Thu Apr 25 20:36:50 2002 +0000
+++ b/sys/arch/prep/prep/ibm_machdep.c Thu Apr 25 20:40:16 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ibm_machdep.c,v 1.2 2001/08/26 02:47:35 matt Exp $ */
+/* $NetBSD: ibm_machdep.c,v 1.3 2002/04/25 20:40:16 nonaka Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -63,21 +63,6 @@
/* Enable L2 cache */
*(volatile u_char *)(PREP_BUS_SPACE_IO + 0x81c) = l2ctrl | 0xc0;
-
- printf("%s: ", dev->dv_xname);
- if (((cpuinf>>1) & 1) == 0) {
- printf("Upgrade CPU, ");
- }
-
- printf("L2 cache ");
- if ((cpuinf & 1) == 0) {
- printf("%s ", ((cpuinf>>2) & 1) ? "256KB" : "unknown size");
- printf("%s", ((cpuinf>>3) & 1) ? "copy-back" : "write-through");
- } else {
- printf("not present");
- }
-
- printf("\n");
}
void
Home |
Main Index |
Thread Index |
Old Index