diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-12 10:48:46 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-12 10:48:46 +0000 |
commit | a5e0c983d01566982e34262439db2cb8f524a19c (patch) | |
tree | fa6fe119abb145e7538f4f03a6c900ce8b96d807 /xen/drivers/video | |
parent | e8922851b57e2585eb7a80f736766acaa3d47e17 (diff) | |
download | xen-a5e0c983d01566982e34262439db2cb8f524a19c.tar.gz xen-a5e0c983d01566982e34262439db2cb8f524a19c.tar.bz2 xen-a5e0c983d01566982e34262439db2cb8f524a19c.zip |
[XEN] Default to 80x50 VGA text console.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/drivers/video')
-rw-r--r-- | xen/drivers/video/vga.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xen/drivers/video/vga.c b/xen/drivers/video/vga.c index 08a260a2b7..303210e466 100644 --- a/xen/drivers/video/vga.c +++ b/xen/drivers/video/vga.c @@ -557,7 +557,7 @@ static int vga_load_font(const struct font_desc *font, unsigned rows) static int vgacon_enabled = 0; static int vgacon_keep = 0; -static int vgacon_lines = 25; +static int vgacon_lines = 50; static const struct font_desc *font; static int xpos, ypos; @@ -606,12 +606,9 @@ void vga_init(void) case 60: font = &font_vga_8x8; break; - default: - vgacon_lines = 25; - break; } - if ( (font != NULL) && (vga_load_font(font, vgacon_lines) < 0) ) + if ( (font == NULL) || (vga_load_font(font, vgacon_lines) < 0) ) { vgacon_lines = 25; font = NULL; |