diff options
author | Matthew Garrett <mjg@redhat.com> | 2009-11-13 15:14:11 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-11-13 15:54:27 -0800 |
commit | f6c06b6807ff9281295989ebad72523865325a4f (patch) | |
tree | 152182be618e67caa89f46ef05b14ad8c075540e /drivers/video/console | |
parent | d9b263528e01bfbaf716b51f38606b3dfe5ac1e9 (diff) | |
download | linux-f6c06b6807ff9281295989ebad72523865325a4f.tar.bz2 |
vc: Add support for hiding the cursor when creating VTs
Add support for setting a global default for whether or not a visible
cursor should be enabled when creating VCs. The default will be to do so,
unless overridden by the user at boot time or by a driver.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
LKML-Reference: <1258143251-5818-1-git-send-email-mjg@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/video/console')
-rw-r--r-- | drivers/video/console/vgacon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/console/vgacon.c b/drivers/video/console/vgacon.c index da55ccaf4d55..564643edb3c1 100644 --- a/drivers/video/console/vgacon.c +++ b/drivers/video/console/vgacon.c @@ -585,6 +585,8 @@ static void vgacon_init(struct vc_data *c, int init) vgacon_uni_pagedir[1]++; if (!vgacon_uni_pagedir[0] && p) con_set_default_unimap(c); + + hide_boot_cursor(screen_info.flags & VIDEO_FLAGS_NOCURSOR); } static void vgacon_deinit(struct vc_data *c) |