comparison configure @ 10179:832182cacfe6

K6-2+ and K6-III+ detection
author diego
date Sun, 25 May 2003 00:14:16 +0000
parents 3de6f1bcbc1a
children d94b4fa2f810
comparison
equal deleted inserted replaced
10178:7a08f6b5ce1b 10179:832182cacfe6
660 AuthenticAMD) 660 AuthenticAMD)
661 case "$pfamily" in 661 case "$pfamily" in
662 3) proc=i386 iproc=386 ;; 662 3) proc=i386 iproc=386 ;;
663 4) proc=i486 iproc=486 ;; 663 4) proc=i486 iproc=486 ;;
664 5) iproc=586 # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3 664 5) iproc=586 # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
665 # TODO: how to determine if model 13 is a k6-2 or a k6-3? Couldn't find anything on amd.com 665 # K6 model 13 are the K6-2+ and K6-III+, only differing in cache size.
666 if test "$pmodel" -eq 9; then 666 if test "$pmodel" -eq 9 -o "$pmodel" -eq 13; then
667 proc=k6-3 667 proc=k6-3
668 elif test "$pmodel" -ge 8; then 668 elif test "$pmodel" -ge 8; then
669 proc=k6-2 669 proc=k6-2
670 elif test "$pmodel" -ge 6; then 670 elif test "$pmodel" -ge 6; then
671 proc=k6 671 proc=k6