This fixes "margin colour" (colour used to clear margins - e.g. a half of line at the bottom of 100x37 console on 800x600 framebuffer). I don't know what was the intention behind using attr_bgcol_ec() here, but it caused using of background colour of last erase character to clear margins - which definitely isn't what we want... This patch changes margin colour to black (or colour 0 in palette modes). -- Jakub Bogusz --- linux-2.6.0-test2/drivers/video/console/fbcon.c.orig 2003-07-14 05:36:32.000000000 +0200 +++ linux-2.6.0-test2/drivers/video/console/fbcon.c 2003-07-31 00:53:26.000000000 +0200 @@ -518,7 +518,6 @@ void accel_clear_margins(struct vc_data *vc, struct fb_info *info, int bottom_only) { - int bgshift = (vc->vc_hi_font_mask) ? 13 : 12; unsigned int cw = vc->vc_font.width; unsigned int ch = vc->vc_font.height; unsigned int rw = info->var.xres - (vc->vc_cols*cw); @@ -527,7 +526,7 @@ unsigned int bs = info->var.yres - bh; struct fb_fillrect region; - region.color = attr_bgcol_ec(bgshift, vc); + region.color = 0; region.rop = ROP_COPY; if (rw && !bottom_only) {