[parisc-linux-cvs] pa46, patch for cursor-on-last-line problem in sticon

Helge Deller deller@gmx.de
Wed, 27 Jun 2001 21:24:29 +0200


--------------Boundary-00=_TKSL7GAOMEIIIN3DGIOV
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Subject: 



--------------Boundary-00=_TKSL7GAOMEIIIN3DGIOV
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="diff"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="diff"

Index: Makefile
===================================================================
RCS file: /home/cvs/parisc/linux/Makefile,v
retrieving revision 1.77
diff -u -r1.77 Makefile
--- Makefile	2001/06/27 18:35:48	1.77
+++ Makefile	2001/06/27 19:20:12
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 4
 SUBLEVEL = 0
-EXTRAVERSION = -pa45
+EXTRAVERSION = -pa46
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
Index: drivers/video/sti/sticon.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/video/sti/sticon.c,v
retrieving revision 1.14
diff -u -r1.14 sticon.c
--- sticon.c	2001/06/27 14:07:09	1.14
+++ sticon.c	2001/06/27 19:20:12
@@ -362,25 +362,6 @@
 
 void sticon_save_screen(struct vc_data *conp)
 {
-    static int bootup_console = 0;
-
-    if (!bootup_console) {
-	/* This is a gross hack, but here is the only place we can
-	 * set bootup console parameters without messing up generic
-	 * console initialization routines.
-	 */
-	bootup_console = 1;
-	conp->vc_x = 0; /* ORIG_X; ORIG_Y; */
-	conp->vc_y = conp->vc_rows-1;
-	if (conp->vc_y<0)
-		conp->vc_y = 0;
-    }
-    
-    /* TODO?: fill conp->vc_screenbuf with pdccons's bootup messages */
-    /*
-    if (!vga_is_gfx)
-	scr_memcpyw_from((u16 *) c->vc_screenbuf, (u16 *) c->vc_origin, c->vc_screenbuf_size);
-    */
 }
 
 struct consw sti_con = {

--------------Boundary-00=_TKSL7GAOMEIIIN3DGIOV--