From f6e99e19dd9306a7d02db30c6dce06717598507d Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 1 Jul 1997 08:51:00 +0000 Subject: The crappy firmware may explode on us when we call it with SCACHE cache enabled, so we read out the ARCS configuration data as early as possible. --- arch/mips/sgi/kernel/system.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'arch/mips/sgi/kernel/system.c') diff --git a/arch/mips/sgi/kernel/system.c b/arch/mips/sgi/kernel/system.c index 051ad09c5..543fe82f2 100644 --- a/arch/mips/sgi/kernel/system.c +++ b/arch/mips/sgi/kernel/system.c @@ -1,7 +1,9 @@ -/* $Id: system.c,v 1.2 1996/06/10 16:38:32 dm Exp $ +/* * system.c: Probe the system type using ARCS prom interface library. * * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com) + * + * $Id: system.c,v 1.2 1997/06/28 22:47:45 ralf Exp $ */ #include #include @@ -88,6 +90,10 @@ static int string_to_cpu(char *s) return 0; } +/* + * We' call this early before loadmmu(). If we do the other way around + * the firmware will crash and burn. + */ void sgi_sysinit(void) { pcomponent *p, *toplev, *cpup = 0; -- cgit v1.2.3