Re: [linux-fbdev] Re: test [PATCH] new vgacon and vga16fb Part II

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Tue Oct 10 2000 - 14:03:40 EST


On Tue, 10 Oct 2000, James Simmons wrote:
> Oops. Sorry folks. My patch was too big to be posted on the mailing
> list. Uncompressed it is 63K. Here it is compressed.
>
> >Hi!
> >
> > This patch places code common to both vgacon and vga16fb into a common
> >file (vga.c). The utlimate goal is to have the ability to go from vgacon
> >to fbcon and back. At present you can't do this. This will allow for
> >easier debugging in the future for fbdev drivers.

And I suggest this addition (cfr. the other fbcon-*.c since 2.4.0-test5-pre5):

--- newvga-2.4.0-test9/drivers/video/fbcon-vga8-planes.c.orig Tue Oct 10 20:54:47 2000
+++ newvga-2.4.0-test9/drivers/video/fbcon-vga8-planes.c Tue Oct 10 20:58:52 2000
@@ -350,9 +350,13 @@
 }
 
 struct display_switch fbcon_vga8_planes = {
- fbcon_vga8_planes_setup, fbcon_vga8_planes_bmove, fbcon_vga8_planes_clear,
- fbcon_vga8_planes_putc, fbcon_vga8_planes_putcs, fbcon_vga8_planes_revc,
- NULL, NULL, NULL, FONTWIDTH(8)
+ setup: fbcon_vga8_planes_setup,
+ bmove: fbcon_vga8_planes_bmove,
+ clear: fbcon_vga8_planes_clear,
+ putc: fbcon_vga8_planes_putc,
+ putcs: fbcon_vga8_planes_putcs,
+ revc: fbcon_vga8_planes_revc,
+ fontwidthmask: FONTWIDTH(8)
 };
 
 #ifdef MODULE

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:16 EST