diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-08-21 22:19:10 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-08-21 22:19:10 +0000 |
commit | b5710aa33141544bf7cb9c3e509d587ff457a094 (patch) | |
tree | 40214b7ea9f82c8a48a9eaeb428c25c0565aee32 /arch/mips64/sgi-ip22 | |
parent | 892bf98f0c04e9297979936d973c85e62a3f0b96 (diff) |
Look ma - a tank has hit the MIPS sources ...
Diffstat (limited to 'arch/mips64/sgi-ip22')
-rw-r--r-- | arch/mips64/sgi-ip22/ip22-setup.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/arch/mips64/sgi-ip22/ip22-setup.c b/arch/mips64/sgi-ip22/ip22-setup.c index d6051f166..6657d0592 100644 --- a/arch/mips64/sgi-ip22/ip22-setup.c +++ b/arch/mips64/sgi-ip22/ip22-setup.c @@ -20,6 +20,7 @@ #include <linux/sched.h> #include <linux/mc146818rtc.h> #include <linux/pc_keyb.h> +#include <linux/tty.h> #include <asm/addrspace.h> #include <asm/bcache.h> @@ -116,7 +117,7 @@ static void __init sgi_irq_setup(void) sgint_init(); } -void __init sgi_setup(void) +void __init ip22_setup(void) { #ifdef CONFIG_SERIAL_CONSOLE char *ctype; @@ -152,12 +153,24 @@ void __init sgi_setup(void) #ifdef CONFIG_SGI_PROM_CONSOLE console_setup("ttyS0"); #endif - + sgi_volume_set(simple_strtoul(prom_getenv("volume"), NULL, 10)); #ifdef CONFIG_VT #ifdef CONFIG_SGI_NEWPORT_CONSOLE conswitchp = &newport_con; + + screen_info = (struct screen_info) { + 0, 0, /* orig-x, orig-y */ + 0, /* unused */ + 0, /* orig_video_page */ + 0, /* orig_video_mode */ + 160, /* orig_video_cols */ + 0, 0, 0, /* unused, ega_bx, unused */ + 64, /* orig_video_lines */ + 0, /* orig_video_isVGA */ + 16 /* orig_video_points */ + }; #else conswitchp = &dummy_con; #endif |