From 6879619ac4c7981e6ebef5837381bd49e5a042bf Mon Sep 17 00:00:00 2001 From: Pozsar Balazs Date: Sun, 30 Oct 2005 15:03:06 -0800 Subject: [PATCH] --- yaml --- r: 11873 b: refs/heads/master c: 1a66ddcb770fbd20ce115910c7828cafdba099c1 h: refs/heads/master i: 11871: 1060488a84e56262f375909d94762ff42bf81385 v: v3 --- [refs] | 2 +- trunk/drivers/video/console/vgacon.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index f944f6aaef8f..06957098c049 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2973dfdb877c17b36c27ba66d71028ff1eb2f32e +refs/heads/master: 1a66ddcb770fbd20ce115910c7828cafdba099c1 diff --git a/trunk/drivers/video/console/vgacon.c b/trunk/drivers/video/console/vgacon.c index 809fee2140ac..56cd199605f4 100644 --- a/trunk/drivers/video/console/vgacon.c +++ b/trunk/drivers/video/console/vgacon.c @@ -579,6 +579,7 @@ static void vga_set_palette(struct vc_data *vc, unsigned char *table) { int i, j; + vga_w(state.vgabase, VGA_PEL_MSK, 0xff); for (i = j = 0; i < 16; i++) { vga_w(state.vgabase, VGA_PEL_IW, table[i]); vga_w(state.vgabase, VGA_PEL_D, vc->vc_palette[j++] >> 2); @@ -721,6 +722,7 @@ static void vga_pal_blank(struct vgastate *state) { int i; + vga_w(state->vgabase, VGA_PEL_MSK, 0xff); for (i = 0; i < 16; i++) { vga_w(state->vgabase, VGA_PEL_IW, i); vga_w(state->vgabase, VGA_PEL_D, 0);