From: Antonino A. Daplas Date: Tue, 8 May 2007 07:38:36 +0000 (-0700) Subject: savagefb: VGA state save and restore X-Git-Tag: v2.6.22-rc1~423 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d832edcace45b26ced76efef6c863449e4e060;p=pandora-kernel.git savagefb: VGA state save and restore Allow the saving and restoration of VGA text mode. The state is saved on the first open and restored on the last close. Because of the VGA registers are linearly mapped to the MMIO space, MMIO access is used which is not limited to X86 platforms nor to the primary display device. An echo 0 > /sys/class/vtconsole/vtcon1/bind will convert the display from graphics to text mode. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed