linux-mips
[Top] [All Lists]

arch/mips/sgi/kernel/setup.c patch

To: linux@cthulhu.engr.sgi.com
Subject: arch/mips/sgi/kernel/setup.c patch
From: Florian Lohoff <flo@rfc822.org>
Date: Sun, 2 Apr 2000 09:33:54 +0200
Organization: rfc822 - pure communication
Sender: owner-linuxmips@oss.sgi.com
Hi,
a small sgi setup.c cleanup - It should be obvious - Althgough this
only get setup.c to compile again with PROM_CONSOLE as there are still 
more bugs

Index: setup.c
===================================================================
RCS file: /cvs/linux/arch/mips/sgi/kernel/setup.c,v
retrieving revision 1.30
diff -u -r1.30 setup.c
--- setup.c     2000/03/26 23:45:03     1.30
+++ setup.c     2000/04/02 07:42:00
@@ -30,6 +30,7 @@
 #ifdef CONFIG_REMOTE_DEBUG
 extern void rs_kgdb_hook(int);
 extern void breakpoint(void);
+static int remote_debug = 0;
 #endif
 
 #if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_PROM_CONSOLE)
@@ -40,8 +41,6 @@
 void indy_reboot_setup(void);
 void sgi_volume_set(unsigned char);
 
-static int remote_debug = 0;
-
 #define sgi_kh ((struct hpc_keyb *) (KSEG1 + 0x1fbd9800 + 64))
 
 #define KBD_STAT_IBF           0x02    /* Keyboard input buffer full */
@@ -197,9 +196,9 @@
 #endif
 
 #ifdef CONFIG_SGI_PROM_CONSOLE
-       console_setup("ttyS0", NULL);
+       console_setup("ttyS0");
 #endif
-  
+
        sgi_volume_set(simple_strtoul(ArcGetEnvironmentVariable("volume"), 
NULL, 10));
 
 #ifdef CONFIG_VT


-- 
Florian Lohoff          flo@rfc822.org                  +49-5241-470566
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."


<Prev in Thread] Current Thread [Next in Thread>
  • arch/mips/sgi/kernel/setup.c patch, Florian Lohoff <=