[parisc-linux-cvs] fix for sticon blanking
Helge Deller
deller@gmx.de
Thu, 14 Jun 2001 18:14:06 +0200
Index: Makefile
===================================================================
RCS file: /home/cvs/parisc/linux/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile 2001/06/14 12:12:42 1.57
+++ Makefile 2001/06/14 16:05:38
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 0
-EXTRAVERSION = -pa24
+EXTRAVERSION = -pa25
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.10
diff -u -r1.10 sticon.c
--- sticon.c 2001/06/14 12:12:44 1.10
+++ sticon.c 2001/06/14 16:05:45
@@ -250,7 +250,9 @@
static int sticon_blank(struct vc_data *conp, int blank)
{
- return 0;
+ if (blank < 0) /* Entering graphics mode */
+ return 0;
+ return 1; /* console needs to restore screen itself */
}