diff options
Diffstat (limited to 'arch/mips/kernel/setup.c')
-rw-r--r-- | arch/mips/kernel/setup.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 809d13a85..99f254b69 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -1,5 +1,4 @@ -/* $Id: setup.c,v 1.28 2000/03/13 22:21:44 harald Exp $ - * +/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. @@ -25,6 +24,7 @@ #include <linux/utsname.h> #include <linux/a.out.h> #include <linux/tty.h> +#include <linux/bootmem.h> #ifdef CONFIG_BLK_DEV_RAM #include <linux/blk.h> #endif @@ -201,6 +201,9 @@ static inline void cpu_probe(void) case PRID_IMP_R10000: mips_cputype = CPU_R10000; break; + case PRID_IMP_RM7000: + mips_cputype = CPU_R5000; + break; default: mips_cputype = CPU_UNKNOWN; } @@ -250,10 +253,6 @@ static void __init default_irq_setup(void) void __init setup_arch(char **cmdline_p) { -#ifdef CONFIG_BLK_DEV_INITRD - unsigned long tmp; - unsigned long *initrd_header; -#endif void baget_setup(void); void cobalt_setup(void); void decstation_setup(void); @@ -262,6 +261,7 @@ void __init setup_arch(char **cmdline_p) void sni_rm200_pci_setup(void); void sgi_setup(void); void ddb_setup(void); + void orion_setup(void); /* Save defaults for configuration-dependent routines. */ irq_setup = default_irq_setup; @@ -318,6 +318,11 @@ void __init setup_arch(char **cmdline_p) ddb_setup(); break; #endif +#ifdef CONFIG_ORION + case MACH_GROUP_ORION: + orion_setup(); + break; +#endif default: panic("Unsupported architecture"); } |