summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-09-09 13:04:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 13:57:58 -0700
commitd2d58384fc5d4c0fe2d8e34bc2d15a90a9bb372a (patch)
tree6b28b34161e7ca2db38014b473690e9c9954779a /include
parent7726e9e10fc6e026ed2dc00e48f4a3ffc1254ad2 (diff)
downloadop-kernel-dev-d2d58384fc5d4c0fe2d8e34bc2d15a90a9bb372a.zip
op-kernel-dev-d2d58384fc5d4c0fe2d8e34bc2d15a90a9bb372a.tar.gz
[PATCH] vesafb: Add blanking support
Add rudimentary support by manipulating the VGA registers. However, not all vesa modes are VGA compatible, so VGA compatiblity is checked first. Only 2 levels are supported, powerup and powerdown. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tty.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h
index 59ff42c..1267f88 100644
--- a/include/linux/tty.h
+++ b/include/linux/tty.h
@@ -74,7 +74,8 @@ struct screen_info {
u16 vesapm_off; /* 0x30 */
u16 pages; /* 0x32 */
u16 vesa_attributes; /* 0x34 */
- /* 0x36 -- 0x3f reserved for future expansion */
+ u32 capabilities; /* 0x36 */
+ /* 0x3a -- 0x3f reserved for future expansion */
};
extern struct screen_info screen_info;
OpenPOWER on IntegriCloud