diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2007-05-08 00:38:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:29 -0700 |
commit | 22d832edcace45b26ced76efef6c863449e4e060 (patch) | |
tree | 155190ea0e8d4b1504c754d272518cd9da147771 /drivers/block/swim3.c | |
parent | f7829158bce2c8180bf7a1cb922cad812d3a2788 (diff) |
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 <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/swim3.c')
0 files changed, 0 insertions, 0 deletions