diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-06-18 19:49:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 19:46:08 -0400 |
commit | 4b1982896876872d30493cca9477975b62335f39 (patch) | |
tree | e2d2cf3ff6f98dada1e68517e7f03ee6095652c5 /drivers/video/Kconfig | |
parent | 5b7f92c96a74ac9a9bc21101ad02f6c9f71fd25d (diff) |
fbdev: do not allow VESA modes without compiled-in drivers
Do not accept VESA modes by the "vga=" kernel parameter if there is no
frame buffer driver compiled-in to handle it.
Also, there is a comment added to the Kconfig description after Werner
Lemberg's suggestion
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13249
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Reported-by: Werner Lemberg <wl@gnu.org>
Cc: Michal Januszewski <spock@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/Kconfig')
-rw-r--r-- | drivers/video/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 932ffdbf86d9..d6d65ef85f54 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -1122,12 +1122,14 @@ config FB_INTEL | |||
1122 | select FB_CFB_FILLRECT | 1122 | select FB_CFB_FILLRECT |
1123 | select FB_CFB_COPYAREA | 1123 | select FB_CFB_COPYAREA |
1124 | select FB_CFB_IMAGEBLIT | 1124 | select FB_CFB_IMAGEBLIT |
1125 | select FB_BOOT_VESA_SUPPORT | 1125 | select FB_BOOT_VESA_SUPPORT if FB_INTEL = y |
1126 | help | 1126 | help |
1127 | This driver supports the on-board graphics built in to the Intel | 1127 | This driver supports the on-board graphics built in to the Intel |
1128 | 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/965G/965GM chipsets. | 1128 | 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/965G/965GM chipsets. |
1129 | Say Y if you have and plan to use such a board. | 1129 | Say Y if you have and plan to use such a board. |
1130 | 1130 | ||
1131 | To make FB_INTELFB=Y work you need to say AGP_INTEL=y too. | ||
1132 | |||
1131 | To compile this driver as a module, choose M here: the | 1133 | To compile this driver as a module, choose M here: the |
1132 | module will be called intelfb. | 1134 | module will be called intelfb. |
1133 | 1135 | ||
@@ -1460,7 +1462,7 @@ config FB_SIS | |||
1460 | select FB_CFB_FILLRECT | 1462 | select FB_CFB_FILLRECT |
1461 | select FB_CFB_COPYAREA | 1463 | select FB_CFB_COPYAREA |
1462 | select FB_CFB_IMAGEBLIT | 1464 | select FB_CFB_IMAGEBLIT |
1463 | select FB_BOOT_VESA_SUPPORT | 1465 | select FB_BOOT_VESA_SUPPORT if FB_SIS = y |
1464 | help | 1466 | help |
1465 | This is the frame buffer device driver for the SiS 300, 315, 330 | 1467 | This is the frame buffer device driver for the SiS 300, 315, 330 |
1466 | and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets. | 1468 | and 340 series as well as XGI V3XT, V5, V8, Z7 graphics chipsets. |