blob: 097ed13595c0d4671131954873514f171d7b1298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* sgicons.c: Setting up and registering console I/O on the SGI.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
*/
#include <linux/init.h>
#include <linux/kernel.h>
extern void newport_init(void);
extern unsigned long video_mem_base, video_screen_size, video_mem_term;
__initfunc(unsigned long con_type_init(unsigned long start_mem, const char **name))
{
extern int serial_console;
*name = "NEWPORT";
if(!serial_console) {
printk("Video screen size is %08lx at %08lx\n",
video_screen_size, start_mem);
video_mem_base = start_mem;
start_mem += (video_screen_size * 2);
video_mem_term = start_mem;
newport_init();
}
return start_mem;
}
__initfunc(void con_type_init_finish(void))
{
}
|