patch-2.3.2 linux/arch/i386/kernel/setup.c
Next file: linux/drivers/block/hpt343.c
Previous file: linux/arch/i386/kernel/mtrr.c
Back to the patch index
Back to the overall index
-  Lines: 19
 -  Date:
Fri May 14 08:59:54 1999
 -  Orig file: 
v2.3.1/linux/arch/i386/kernel/setup.c
 -  Orig date: 
Mon May 10 10:32:45 1999
 
diff -u --recursive --new-file v2.3.1/linux/arch/i386/kernel/setup.c linux/arch/i386/kernel/setup.c
@@ -9,6 +9,9 @@
  *  Force Cyrix 6x86(MX) and M II processors to report MTRR capability
  *  and fix against Cyrix "coma bug" by
  *      Zoltan Boszormenyi <zboszor@mol.hu> February 1999.
+ * 
+ *  Force Centaur C6 processors to report MTRR capability.
+ *      Bart Hartgers <bart@etpmod.phys.tue.nl>, May 199.
  */
 
 /*
@@ -861,6 +864,8 @@
 		/* lv|=(1<<6);	- may help too if the board can cope */
 		printk("now 0x%X", lv);
 		wrmsr(0x107, lv, hv);
+		/* Emulate MTRRs using Centaur's MCR. */
+		c->x86_capability |= X86_FEATURE_MTRR;	   	
 	}
 	printk("\n");
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)