[2.1.115][PATCH] Fix for vgacon unimap problem.

Niels Kristian Bech Jensen (nkbj@image.dk)
Sun, 9 Aug 1998 09:26:00 +0200 (CEST)


Hi,
This patch fixes the vgacon unimap problem in linux-2.1.11[2-5], that I
reported a couple of days ago. The problem was:

1. Even if I called loadunimap from my startup scripts, I had to
call it again after login.

2. I had to call loadunimap after returning fra X.

diff -urN linux-2.1.115/drivers/char/console.c linux/drivers/char/console.c
--- linux-2.1.115/drivers/char/console.c Fri Aug 7 16:54:37 1998
+++ linux/drivers/char/console.c Sun Aug 9 09:19:35 1998
@@ -612,7 +612,6 @@
vt_cons[currcons] = NULL;
return -ENOMEM;
}
- con_set_default_unimap(currcons);
screenbuf = (unsigned short *) q;
kmalloced = 1;
screenbuf_size = video_screen_size;

--
Niels Kristian Bech Jensen - nkbj@image.dk - http://www.image.dk/~nkbj/

---------->> Stop software piracy --- use free software! <<----------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html