diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1998-10-18 13:51:49 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 1998-10-18 13:51:49 +0000 |
commit | 843b3537ba689ec2e9d00aa89d60d6f0cb51404c (patch) | |
tree | b32fcd8427648257956a896260aee607361d9950 /arch/mips/sgi | |
parent | d92e6921ec595494e85b69b578b319fb4a939b39 (diff) |
architecure is now identified in arc/identify.c
Diffstat (limited to 'arch/mips/sgi')
-rw-r--r-- | arch/mips/sgi/kernel/system.c | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/arch/mips/sgi/kernel/system.c b/arch/mips/sgi/kernel/system.c index f27d2ce05..2a97ff0ec 100644 --- a/arch/mips/sgi/kernel/system.c +++ b/arch/mips/sgi/kernel/system.c @@ -3,7 +3,7 @@ * * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) * - * $Id: system.c,v 1.4 1997/12/01 17:57:39 ralf Exp $ + * $Id: system.c,v 1.5 1998/04/05 11:24:00 ralf Exp $ */ #include <linux/init.h> #include <linux/kernel.h> @@ -21,28 +21,6 @@ struct smatch { int type; }; -static struct smatch sgi_mtable[] = { - { "SGI-IP4", ip4 }, - { "SGI-IP5", ip5 }, - { "SGI-IP6", ip6 }, - { "SGI-IP7", ip7 }, - { "SGI-IP9", ip9 }, - { "SGI-IP12", ip12 }, - { "SGI-IP15", ip15 }, - { "SGI-IP17", ip17 }, - { "SGI-IP19", ip19 }, - { "SGI-IP20", ip20 }, - { "SGI-IP21", ip21 }, - { "SGI-IP22", ip22 }, - { "SGI-IP25", ip25 }, - { "SGI-IP26", ip26 }, - { "SGI-IP28", ip28 }, - { "SGI-IP30", ip30 }, - { "SGI-IP32", ip32 } -}; - -#define NUM_MACHS 17 /* for now */ - static struct smatch sgi_cputable[] = { { "MIPS-R2000", CPU_R2000 }, { "MIPS-R3000", CPU_R3000 }, @@ -57,21 +35,6 @@ static struct smatch sgi_cputable[] = { #define NUM_CPUS 9 /* for now */ -__initfunc(static enum sgi_mach string_to_mach(char *s)) -{ - int i; - - for(i = 0; i < NUM_MACHS; i++) { - if(!strcmp(s, sgi_mtable[i].name)) - return (enum sgi_mach) sgi_mtable[i].type; - } - prom_printf("\nYeee, could not determine SGI architecture type <%s>\n", s); - prom_printf("press a key to reboot\n"); - prom_getchar(); - romvec->imode(); - return (enum sgi_mach) 0; -} - __initfunc(static int string_to_cpu(char *s)) { int i; @@ -101,8 +64,6 @@ __initfunc(void sgi_sysinit(void)) * have here. */ p = prom_getchild(PROM_NULL_COMPONENT); - printk("ARCH: %s\n", p->iname); - sgimach = string_to_mach(p->iname); /* Now scan for cpu(s). */ toplev = p = prom_getchild(p); |