diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-01-30 07:33:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:02 -0500 |
commit | 1cac5004e953506166e980da5776d5cc1c176d79 (patch) | |
tree | da90c8870839b0445b45b39b473c8715afc31424 /arch/x86/boot/video-vga.c | |
parent | 02a7b425e82cd0052e5eaedbae81a522c6aae6c4 (diff) |
x86 setup: display VESA graphics modes in vga=ask menu
Display VESA graphics modes, with their mode IDs, in the vga=ask
menu. Most VESA mode numbers are platform-dependent, so it helps to
have an easy way to display them.
Based in part on a patch by Petr Vandrovec <petr@vandrovec.name>.
Cc: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/boot/video-vga.c')
-rw-r--r-- | arch/x86/boot/video-vga.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/boot/video-vga.c b/arch/x86/boot/video-vga.c index aef02f9ec0c1..7259387b7d19 100644 --- a/arch/x86/boot/video-vga.c +++ b/arch/x86/boot/video-vga.c | |||
@@ -18,22 +18,22 @@ | |||
18 | #include "video.h" | 18 | #include "video.h" |
19 | 19 | ||
20 | static struct mode_info vga_modes[] = { | 20 | static struct mode_info vga_modes[] = { |
21 | { VIDEO_80x25, 80, 25 }, | 21 | { VIDEO_80x25, 80, 25, 0 }, |
22 | { VIDEO_8POINT, 80, 50 }, | 22 | { VIDEO_8POINT, 80, 50, 0 }, |
23 | { VIDEO_80x43, 80, 43 }, | 23 | { VIDEO_80x43, 80, 43, 0 }, |
24 | { VIDEO_80x28, 80, 28 }, | 24 | { VIDEO_80x28, 80, 28, 0 }, |
25 | { VIDEO_80x30, 80, 30 }, | 25 | { VIDEO_80x30, 80, 30, 0 }, |
26 | { VIDEO_80x34, 80, 34 }, | 26 | { VIDEO_80x34, 80, 34, 0 }, |
27 | { VIDEO_80x60, 80, 60 }, | 27 | { VIDEO_80x60, 80, 60, 0 }, |
28 | }; | 28 | }; |
29 | 29 | ||
30 | static struct mode_info ega_modes[] = { | 30 | static struct mode_info ega_modes[] = { |
31 | { VIDEO_80x25, 80, 25 }, | 31 | { VIDEO_80x25, 80, 25, 0 }, |
32 | { VIDEO_8POINT, 80, 43 }, | 32 | { VIDEO_8POINT, 80, 43, 0 }, |
33 | }; | 33 | }; |
34 | 34 | ||
35 | static struct mode_info cga_modes[] = { | 35 | static struct mode_info cga_modes[] = { |
36 | { VIDEO_80x25, 80, 25 }, | 36 | { VIDEO_80x25, 80, 25, 0 }, |
37 | }; | 37 | }; |
38 | 38 | ||
39 | __videocard video_vga; | 39 | __videocard video_vga; |