From c7fc24dc4420057f103afe8fc64524ebc25c5d37 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 25 Aug 1998 09:12:35 +0000 Subject: o Merge with Linux 2.1.116. o New Newport console code. o New G364 console code. --- arch/mips/sgi/kernel/setup.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'arch/mips/sgi/kernel/setup.c') diff --git a/arch/mips/sgi/kernel/setup.c b/arch/mips/sgi/kernel/setup.c index 5dbdeee16..8ee2c62a5 100644 --- a/arch/mips/sgi/kernel/setup.c +++ b/arch/mips/sgi/kernel/setup.c @@ -1,4 +1,4 @@ -/* $Id: setup.c,v 1.11 1998/07/10 01:14:50 ralf Exp $ +/* $Id: setup.c,v 1.12 1998/07/16 20:32:30 tsbogend Exp $ * * setup.c: SGI specific setup, including init of the feature struct. * @@ -7,6 +7,9 @@ */ #include #include +#include +#include +#include #include #include @@ -21,7 +24,7 @@ #include #include -extern int serial_console; /* in console.c, of course */ +extern int serial_console; /* in sgiserial.c */ extern struct rtc_ops indy_rtc_ops; void indy_reboot_setup(void); @@ -82,7 +85,9 @@ __initfunc(static void sgi_irq_setup(void)) __initfunc(void sgi_setup(void)) { +#ifdef CONFIG_SERIAL_CONSOLE char *ctype; +#endif irq_setup = sgi_irq_setup; keyboard_setup = sgi_keyboard_setup; @@ -99,6 +104,7 @@ __initfunc(void sgi_setup(void)) /* Now enable boardcaches, if any. */ indy_sc_init(); +#ifdef CONFIG_SERIAL_CONSOLE /* ARCS console environment variable is set to "g?" for * graphics console, it is set to "d" for the first serial * line and "d2" for the second serial line. @@ -117,6 +123,11 @@ __initfunc(void sgi_setup(void)) prom_imode(); } } +#endif +#ifdef CONFIG_VT + conswitchp = &newport_con; +#endif rtc_ops = &indy_rtc_ops; + } -- cgit v1.2.3