diff options
author | Florian Lohoff <flo@rfc822.org> | 2000-04-06 09:04:59 +0000 |
---|---|---|
committer | Florian Lohoff <flo@rfc822.org> | 2000-04-06 09:04:59 +0000 |
commit | 49dba6c02527299f95679f270bc62e309b558c51 (patch) | |
tree | 16ac2686b3ca3d5026a179694041a36bab41cd73 /arch/mips/sgi/kernel | |
parent | baf53a8667f9b9bf9b4ff3ef272caabf5372a4f0 (diff) |
First fixes for SGI_PROM_CONSOLE - first commit - be nice :)
Diffstat (limited to 'arch/mips/sgi/kernel')
-rw-r--r-- | arch/mips/sgi/kernel/setup.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/sgi/kernel/setup.c b/arch/mips/sgi/kernel/setup.c index 0151fa755..01d988ced 100644 --- a/arch/mips/sgi/kernel/setup.c +++ b/arch/mips/sgi/kernel/setup.c @@ -30,9 +30,10 @@ #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) +#if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_SGI_PROM_CONSOLE) extern void console_setup(char *); #endif @@ -40,8 +41,6 @@ extern struct rtc_ops indy_rtc_ops; 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 @@ void __init sgi_setup(void) #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 |