lkml.org 
[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] mtrr.c for linux-2.4.0-test9-pre7
Date
From
> On mtrr.c, it assume that CPU is CyrixIII when cpuid is 0x06XX, and
> try to use intel compatible MTRR, so Cyrix MII with MTRR can't work.

Oops it shouldnt fall through any more. My fault

> Here is the ad hoc patch.

And here is a non AdHoc one (the Cyrix III reports itself as CENTAUR which
makes sense since they built it and are now like Cyrix part of VIA)

Fixed in my 2.2 tree as well



--- arch/i386/kernel/mtrr.c~ Fri Sep 15 12:42:22 2000
+++ arch/i386/kernel/mtrr.c Wed Sep 27 21:05:41 2000
@@ -440,6 +440,7 @@
/*break;*/
case X86_VENDOR_CYRIX:
/* Cyrix have 8 ARRs */
+ return 8;
case X86_VENDOR_CENTAUR:
/* and Centaur has 8 MCR's */
if(boot_cpu_data.x86==5)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:39    [W:1.435 / U:2.336 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site