Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56524
b: refs/heads/master
c: a1a4849
h: refs/heads/master
v: v3
  • Loading branch information
Gerd Hoffmann authored and Linus Torvalds committed May 17, 2007
1 parent 7860d30 commit 765374e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 79974a0e4c6be6e9a3717b4c5a5d5c44c36b1653
refs/heads/master: a1a4849c419337f649c6633219b555eb4d4d955a
9 changes: 7 additions & 2 deletions trunk/drivers/video/console/vgacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,14 @@ static const char *vgacon_startup(void)
#endif
}

/* SCREEN_INFO initialized? */
if ((ORIG_VIDEO_MODE == 0) &&
(ORIG_VIDEO_LINES == 0) &&
(ORIG_VIDEO_COLS == 0))
goto no_vga;

/* VGA16 modes are not handled by VGACON */
if ((ORIG_VIDEO_MODE == 0x00) || /* SCREEN_INFO not initialized */
(ORIG_VIDEO_MODE == 0x0D) || /* 320x200/4 */
if ((ORIG_VIDEO_MODE == 0x0D) || /* 320x200/4 */
(ORIG_VIDEO_MODE == 0x0E) || /* 640x200/4 */
(ORIG_VIDEO_MODE == 0x10) || /* 640x350/4 */
(ORIG_VIDEO_MODE == 0x12) || /* 640x480/4 */
Expand Down

0 comments on commit 765374e

Please sign in to comment.