changeset 10179:832182cacfe6

K6-2+ and K6-III+ detection
author diego
date Sun, 25 May 2003 00:14:16 +0000
parents 7a08f6b5ce1b
children 3f3b7829dce8
files configure
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat May 24 21:24:51 2003 +0000
+++ b/configure	Sun May 25 00:14:16 2003 +0000
@@ -662,8 +662,8 @@
     3) proc=i386 iproc=386 ;;
     4) proc=i486 iproc=486 ;;
     5) iproc=586       # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
-	# TODO: how to determine if model 13 is a k6-2 or a k6-3? Couldn't find anything on amd.com
-	if test "$pmodel" -eq 9; then
+	# K6 model 13 are the K6-2+ and K6-III+, only differing in cache size.
+	if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then
 		proc=k6-3
 	elif test "$pmodel" -ge 8; then
 		proc=k6-2