axe CPU_UPGRADE_HW_CACHE from i386 specific code

Mark Santcroos marks at ripe.net
Fri Mar 25 17:13:55 PST 2005


It looks like CPU_UPGRADE_HW_CACHE is only used in PC98, so it can be
removed from all I386 specific code.

Any objections to the following patch?

Mark


Index: conf/options.i386
===================================================================
RCS file: /usr/cvs/src/sys/conf/options.i386,v
retrieving revision 1.218
diff -d -u -r1.218 options.i386
--- conf/options.i386	17 Mar 2005 01:20:49 -0000	1.218
+++ conf/options.i386	26 Mar 2005 00:57:20 -0000
@@ -63,7 +63,6 @@
 CPU_RSTK_EN			opt_cpu.h
 CPU_SOEKRIS			opt_cpu.h
 CPU_SUSP_HLT			opt_cpu.h
-CPU_UPGRADE_HW_CACHE		opt_cpu.h
 CPU_WT_ALLOC			opt_cpu.h
 CYRIX_CACHE_REALLY_WORKS	opt_cpu.h
 CYRIX_CACHE_WORKS		opt_cpu.h
Index: i386/conf/NOTES
===================================================================
RCS file: /usr/cvs/src/sys/i386/conf/NOTES,v
retrieving revision 1.1190
diff -d -u -r1.1190 NOTES
--- i386/conf/NOTES	18 Mar 2005 09:34:52 -0000	1.1190
+++ i386/conf/NOTES	26 Mar 2005 00:57:42 -0000
@@ -151,8 +151,6 @@
 # CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
 # enters suspend mode following execution of HALT instruction.
 #
-# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
-#
 # CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
 # K5/K6/K6-2 CPUs.
 #
@@ -206,7 +204,6 @@
 options 	CPU_RSTK_EN
 options 	CPU_SOEKRIS
 options 	CPU_SUSP_HLT
-options 	CPU_UPGRADE_HW_CACHE
 options 	CPU_WT_ALLOC
 options 	CYRIX_CACHE_WORKS
 options 	CYRIX_CACHE_REALLY_WORKS

-- 
RIPE NCC - Delft University of Technology - The FreeBSD Project
marks at ripe.net - m.a.santcroos at ewi.tudelft.nl - marks at freebsd.org


More information about the freebsd-hackers mailing list