diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 14:56:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 14:56:40 +0000 |
commit | e308faf24f68e262d92d294a01ddca7a17e76762 (patch) | |
tree | 22c47cb315811834861f013067878ff664e95abd /arch/i386/kernel/setup.c | |
parent | 30c6397ce63178fcb3e7963ac247f0a03132aca9 (diff) |
Sync with Linux 2.1.46.
Diffstat (limited to 'arch/i386/kernel/setup.c')
-rw-r--r-- | arch/i386/kernel/setup.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index f62744d11..4dd8edf76 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c @@ -219,7 +219,7 @@ __initfunc(void setup_arch(char **cmdline_p, request_region(0x40,0x20,"timer"); request_region(0x80,0x10,"dma page reg"); request_region(0xc0,0x20,"dma2"); - request_region(0xf0,0x10,"npu"); + request_region(0xf0,0x10,"fpu"); } static const char * i486model(unsigned int nr) @@ -244,6 +244,17 @@ static const char * i586model(unsigned int nr) return NULL; } +static const char * k5model(unsigned int nr) +{ + static const char *model[] = { + "SSA5 (PR-75, PR-90, PR-100)", "5k86 (PR-120, PR-133)", + "5k86 (PR-166)", "5k86 (PR-200)", "", "", "K6" + }; + if (nr < sizeof(model)/sizeof(char *)) + return model[nr]; + return NULL; +} + static const char * i686model(unsigned int nr) { static const char *model[] = { @@ -263,7 +274,11 @@ static const char * getmodel(int x86, int model) p = i486model(model); break; case 5: - p = i586model(model); + if(strcmp(x86_vendor_id, "AuthenticAMD") == 0){ + p = k5model(model); + } else { + p = i586model(model); + } break; case 6: p = i686model(model); |