Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11873
b: refs/heads/master
c: 1a66ddc
h: refs/heads/master
i:
  11871: 1060488
v: v3
  • Loading branch information
Pozsar Balazs authored and Linus Torvalds committed Oct 31, 2005
1 parent 1c250df commit 6879619
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2973dfdb877c17b36c27ba66d71028ff1eb2f32e
refs/heads/master: 1a66ddcb770fbd20ce115910c7828cafdba099c1
2 changes: 2 additions & 0 deletions trunk/drivers/video/console/vgacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6879619

Please sign in to comment.