提交 01e73be3 编写于 作者: L Linus Torvalds

Revert "fbdev: ignore VESA modes if framebuffer is disabled"

This reverts commit 464bdd33.

Peter Anvin correctly points out that VESA modes have nothing to do with
frame buffers per se - they are often just regular extended text modes.
Disabling them just because we don't have frame buffer support is very
wrong.

Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>,
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 7b82dc0e
...@@ -496,11 +496,9 @@ mode_set: ...@@ -496,11 +496,9 @@ mode_set:
cmpb $VIDEO_FIRST_V7>>8, %ah cmpb $VIDEO_FIRST_V7>>8, %ah
jz setv7 jz setv7
#ifdef CONFIG_FB
cmpb $VIDEO_FIRST_VESA>>8, %ah cmpb $VIDEO_FIRST_VESA>>8, %ah
jnc check_vesa jnc check_vesa
#endif
orb %ah, %ah orb %ah, %ah
jz setmenu jz setmenu
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册