From 4c99789f58761063ee15175cd3110fd94a7f5686 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 2 Jan 2011 14:28:12 +0100 Subject: Strictly adhere to the VGA register convention Not writing a value to the "enable display" register works for tested cards, but Linux writes a 0, and you can never know what manufacturers think. * console-client/vga-support.c (vga_exchange_palette_attributes): Write a 0 value to the "enable display" register. --- console-client/vga-support.c | 1 + 1 file changed, 1 insertion(+) (limited to 'console-client') diff --git a/console-client/vga-support.c b/console-client/vga-support.c index dd4d099d..bce6f8e9 100644 --- a/console-client/vga-support.c +++ b/console-client/vga-support.c @@ -488,4 +488,5 @@ vga_exchange_palette_attributes (unsigned char index, operation. */ inb (VGA_INPUT_STATUS_1_REG); outb (0x20, VGA_ATTR_ADDR_DATA_REG); + outb (0x00, VGA_ATTR_ADDR_DATA_REG); } -- cgit v1.2.3