summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-08 20:52:03 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-08 20:52:03 +0200
commit6d24bbbe8fb2e686516fd867e8bb7b8a07950891 (patch)
treede7f290188799441490701dbf91d1baec31e905d
parent42dd2d07fe194454dbc4027f3c02164f03be9eb4 (diff)
Fix restoring from Xorg
* console-client/vga.c (vga_display_restore_status): Use VGA_GFX_MISC_B8TOBF instead of VGA_GFX_MISC_A0TOAF.
-rw-r--r--console-client/vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/vga.c b/console-client/vga.c
index 4693c664..9e8abb3a 100644
--- a/console-client/vga.c
+++ b/console-client/vga.c
@@ -394,7 +394,7 @@ vga_display_restore_status (void *handle)
/* Read/write in interleaved mode. This is not preserved by the
XFree VESA driver. */
outb (VGA_GFX_MISC_ADDR, VGA_GFX_ADDR_REG);
- outb (VGA_GFX_MISC_CHAINOE | VGA_GFX_MISC_A0TOAF, VGA_GFX_DATA_REG);
+ outb (VGA_GFX_MISC_CHAINOE | VGA_GFX_MISC_B8TOBF, VGA_GFX_DATA_REG);
}