From 6d24bbbe8fb2e686516fd867e8bb7b8a07950891 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 8 Aug 2011 20:52:03 +0200 Subject: Fix restoring from Xorg * console-client/vga.c (vga_display_restore_status): Use VGA_GFX_MISC_B8TOBF instead of VGA_GFX_MISC_A0TOAF. --- console-client/vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client') 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); } -- cgit v1.2.3