Re: [PATCH] fix set_palette bug in console.c

From: James Simmons (
Date: Wed May 31 2000 - 20:06:25 EST

On Wed, 31 May 2000, Yuri Per wrote:

> Hi!
> I have tried such change before sending my own patch. It really works.
> I am not sure that such patch has no side effects on the vgacon driver.
> In fact, set_palette is not required for fbcon driver at all, because
> framebuffer drivers remebers palette themselves.

I tried the patch with vgacon. No problem. Also their is a problem with
set_origin being calling before the VT switch hook for the driver. It
should be:

        if (redraw) {
                  if (sw->con_switch(vc_cons[currcons].d) && vcmode != KD_GRAPHICS)
                        sw->con_set_palette(vc_cons[currcons].d, color_table);
                          /* Update the screen contents */
                          do_update_region(currcons, origin, screenbuf_size/2);

I tried this patch with vgacon and matroxfb driver and it worked like a

Q: Why did they deprecate a.out support in linux?
A: Because a nasty coff is bad for your elf.

James Simmons [] ____/|
fbdev/console/gfx developer \ o.O| =(_)= U

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:11 EST