summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-12-08 11:35:38 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-12-08 11:35:38 +0000
commite32d6bd04736ec373410c5cabfe6d232aa15a2cc (patch)
treee95bbbb81547c7b4f4a43d52b5eec17ec6d55f32 /arch/mips/sgi
parent963b1cd6f5237a8df0819497f54a700820b2b8d2 (diff)
Resurrect serial console.
Diffstat (limited to 'arch/mips/sgi')
-rw-r--r--arch/mips/sgi/kernel/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sgi/kernel/setup.c b/arch/mips/sgi/kernel/setup.c
index 6d3fd4b0c..e49ade621 100644
--- a/arch/mips/sgi/kernel/setup.c
+++ b/arch/mips/sgi/kernel/setup.c
@@ -1,4 +1,4 @@
-/* $Id: setup.c,v 1.26 1999/10/09 00:00:59 ralf Exp $
+/* $Id: setup.c,v 1.27 1999/10/21 00:23:05 ralf Exp $
*
* setup.c: SGI specific setup, including init of the feature struct.
*
@@ -33,7 +33,7 @@ extern void breakpoint(void);
#endif
#if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_PROM_CONSOLE)
-extern void console_setup(char *, int *);
+extern void console_setup(char *);
#endif
extern struct rtc_ops indy_rtc_ops;
@@ -160,9 +160,9 @@ void __init sgi_setup(void)
ctype = prom_getenv("console");
if(*ctype == 'd') {
if(*(ctype+1)=='2')
- console_setup ("ttyS1", NULL);
+ console_setup ("ttyS1");
else
- console_setup ("ttyS0", NULL);
+ console_setup ("ttyS0");
}
#endif