Re: linux-kernel-digest V1 #2609

Shaun Wilson (plexus@ionet.net)
Mon, 28 Sep 1998 15:48:19 -0500 (CDT)


I dloaded 2.1.123 this morning and found two errors with the source. The
first looks as though someone added a call to set the pallete for fb
console . But htey didn't pass a console argument :) Second (and this
boggles the mind as to why) is that two defines were removed from
include/linux/console.h that are still in use in /drivers/video/fbcon.c

Anyway, here's the diff:
--- cut ---
*** drivers/video/fbcon.c Mon Sep 28 07:21:34 1998
--- drivers/video/fbcon.c Mon Sep 28 13:01:22 1998
***************
*** 502,508 ****

if (!init) {
if (con == fg_console)
! set_palette(); /* Unlike vgacon, we have to set palette before resize on directcolor,
so that it is drawn with correct colors */
vc_resize_con(nr_rows, nr_cols, con);
if (save) {
--- 502,508 ----

if (!init) {
if (con == fg_console)
! set_palette(con); /* Unlike vgacon, we have to set palette before resize on directcolor,
so that it is drawn with correct colors */
vc_resize_con(nr_rows, nr_cols, con);
if (save) {
*** include/linux/console.h Mon Sep 28 07:21:54 1998
--- include/linux/console.h Mon Sep 28 13:12:56 1998
***************
*** 58,63 ****
--- 58,65 ----
/* scroll */
#define SM_UP (1)
#define SM_DOWN (2)
+ #define SM_LEFT (3)
+ #define SM_RIGHT (4)

/* cursor */
#define CM_DRAW (1)
--- cut ---

If I am missing something important (like 'why') let me know.

-
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.tux.org/lkml/