Could you put little improvement on Linux 2.0.22?

Chai Harjo (c.harjo@student.anu.edu.au)
Tue, 01 Oct 1996 12:41:54 +1100


Hi Linus,

Could you put more information about pentium on /proc files.
At the moment all pentiums are treated as Pentium 75+.
Could you differentiate them, such as Pentium 75, Pentium 100,
Pentium 133 etc.

I have looked at files, /linux/arch/i386/kernel/setup.c
and head.S.

I have tried to modify a little bit by putting Pentium 133+ in setup.c :

static const char * i586model(unsigned int nr)
{
static const char *model[] = {
"0", "Pentium 60/66","Pentium 75+","Pentium 133+","OverDrive PODP5V83"
};
if (nr < sizeof(model)/sizeof(char *))
return model[nr];
return NULL;
}

This one does not work, because I notice that the value of nr comes from
head.S.
Has someone else tried this?
Could you share your patch with me?

Thanks

Chai