Re: [PATCH] Processor autodetection (when configuring kernel)

2000-12-29 Thread Ingo Oeser
On Fri, Dec 29, 2000 at 02:39:42PM +0100, Giacomo A. Catenazzi wrote: > +{TransmetaCPU,GenuineTMx86}:* ) echo CONFIG_MCROSUE ;; +{TransmetaCPU,GenuineTMx86}:* ) echo CONFIG_MCRUSOE ;; This is just a typo, right? ;-) Regards Ingo Oeser -- 10.+11.03.2001 - 3. Chemnitzer LinuxTag

Re: [PATCH] Processor autodetection (when configuring kernel)

2000-12-29 Thread David Relson
Giacomo, Further experimentation has revealed another problem with the script. The use of curly braces in the case statement, i.e. GenuineIntel:6:{8,9,11}) echo CONFIG_M686FXSR ;; does not work. The construct below works, but I don't like it because of its length: GenuineI

Re: [PATCH] Processor autodetection (when configuring kernel)

2000-12-29 Thread David Relson
Giacomo, I don't think cpu_info.sh is quite right. It identified my 500 Mhz Pentium III as CONFIG_M386. I think CONFIG_M686 is closer, but as I don't know the significance of all the flags (MMX, TSC, etc), I'm not certain. Since the flags do include fxsr, the correct answer may be CONFIG_M6

Re: [PATCH] Processor autodetection (when configuring kernel)

2000-12-29 Thread Jan-Benedict Glaw
On Fri, Dec 29, 2000 at 02:39:42PM +0100, Giacomo A. Catenazzi wrote: > + case $cpu_id in > +GenuineIntel:5:[0123] ) echo CONFIG_M586TSC ;; > +GenuineIntel:5:[48]) echo CONFIG_M586MMX ;; > +GenuineIntel:6:[01356] ) echo CONFIG_M686 ;; > +GenuineIntel:6

[PATCH] Processor autodetection (when configuring kernel)

2000-12-29 Thread Giacomo A. Catenazzi
Hi Linus! Here a first try to autodetect the processor when configure kernel. How it works: 1) I add a CONFIG_CPU_CURRENT boolean. 2) If it is set, the next Makefile will call script/cpu_detect.sh and try to detect the processor (it return CONFIG_M386 if it fails) 3) Makefile sets the autodet