145a146
>        unsigned char	adapter[1];
224a226,234
> struct adapters {
>         unsigned long 	video_mem_st;
>         unsigned short 	video_port_reg;
>         unsigned short	video_port_val;
>         unsigned long	video_mem_term;
>         unsigned char	video_type;
>         	 int	can_do_color;
> } tty_adapter[MAX_NR_CONSOLES]; 
> 
513a524,542
> /* void set_screen_var(int)
>  *
>  * This routine is for switching special variables for the dualmonitor-
>  * patch.
>  * The tty_adapter array knows the setting for each tty
>  */
> void set_screen_var(int currcons)
> {
>         video_mem_base = video_mem_start = tty_adapter[currcons].video_mem_st;
>         video_port_reg = tty_adapter[currcons].video_port_reg;
>         video_port_val = tty_adapter[currcons].video_port_val;
>         video_mem_term = tty_adapter[currcons].video_mem_term;
>         video_type     = tty_adapter[currcons].video_type;
>         can_do_color   = tty_adapter[currcons].can_do_color;
> 
>         adapter[can_do_color] = currcons;
> 
> }
> 
1892a1933,1949
> 	/* dual monitor path by Fabian */
> 	for (currcons = 0; currcons < MAX_NR_CONSOLES; currcons++) {
> 	  tty_adapter[currcons].video_mem_st   = 0xb8000; 
>           tty_adapter[currcons].video_port_reg = 0x3d4;
>           tty_adapter[currcons].video_port_val = 0x3d5;
>           tty_adapter[currcons].video_mem_term =  0xc0000;
>           tty_adapter[currcons].video_type = VIDEO_TYPE_EGAC;
>           tty_adapter[currcons].can_do_color = 1;
> 	} 
> 	tty_adapter[7].video_mem_st   = 0xb0000;
>         tty_adapter[7].video_port_reg = 0x3b4;
>         tty_adapter[7].video_port_val = 0x3b5;
>         tty_adapter[7].video_mem_term =  0xb2000;
>         tty_adapter[7].video_type = VIDEO_TYPE_MDA;
>         tty_adapter[7].can_do_color = 0;
> 	adapter[0]=7;
> 	adapter[1]=0;
1893a1951,1952
> 	currcons=0;	
> 	/* End */
1939a1999,2003
> 			/* dual mon patch by Fabian */
> 			request_region(0x3b4,2,"mda");
>                         request_region(0x3b8,1,"mda");
>                         request_region(0x3bf,1,"mda");
> 			/* End */
2029a2094,2097
> 	/* dual monitor patched by Fabian*/
> 	hide_cursor();
> 	set_screen_var(currcons);
> 	/* END */
