From 7aa9d01bf4a2f35608a73ef5dcdac0025f38df06 Mon Sep 17 00:00:00 2001 From: David Xu Date: Thu, 2 Feb 2006 06:35:50 +0000 Subject: [PATCH] Correctly report L2 cache size according to its code comment. Tested on my Dual PIII machine. --- sys/i386/i386/identcpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 5611e87452f..c7410e0d01f 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -1627,8 +1627,8 @@ get_INTEL_TLB(u_int data, int *const size, int *const ways) case 0x82: /* 2nd-level cache: 256-KB, 8-way set associative, * 32 byte line size */ - if (*size < 128) { - *size = 128; + if (*size < 256) { + *size = 256; *ways = 8; } break;