aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/Kconfig
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-08 03:38:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:29 -0400
commitb2f594fd7adff7aae2d1664e72044926b0b906aa (patch)
tree94ebe01c6bc44e9c4b4101cd604c62c069187bae /drivers/video/Kconfig
parent22d832edcace45b26ced76efef6c863449e4e060 (diff)
fbdev: link vgastate.o using Kconfig
Instead of directly linking vgastate.o by individual drivers, create a Kconfig option VGASTATE which can be 'SELECT'ed by individual drivers instead. Signed-off-by: Antonino Daplas <adaplas@gmail.com> 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/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index bc9a12be1e33..d9aed1033442 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -7,6 +7,10 @@ menu "Graphics support"
7source "drivers/video/backlight/Kconfig" 7source "drivers/video/backlight/Kconfig"
8source "drivers/video/display/Kconfig" 8source "drivers/video/display/Kconfig"
9 9
10config VGASTATE
11 tristate
12 default n
13
10config FB 14config FB
11 tristate "Support for frame buffer devices" 15 tristate "Support for frame buffer devices"
12 ---help--- 16 ---help---
@@ -481,6 +485,7 @@ config FB_VGA16
481 select FB_CFB_FILLRECT 485 select FB_CFB_FILLRECT
482 select FB_CFB_COPYAREA 486 select FB_CFB_COPYAREA
483 select FB_CFB_IMAGEBLIT 487 select FB_CFB_IMAGEBLIT
488 select VGASTATE
484 help 489 help
485 This is the frame buffer device driver for VGA 16 color graphic 490 This is the frame buffer device driver for VGA 16 color graphic
486 cards. Say Y if you have such a card. 491 cards. Say Y if you have such a card.
@@ -716,6 +721,7 @@ config FB_NVIDIA
716 select FB_CFB_COPYAREA 721 select FB_CFB_COPYAREA
717 select FB_CFB_IMAGEBLIT 722 select FB_CFB_IMAGEBLIT
718 select BITREVERSE 723 select BITREVERSE
724 select VGASTATE
719 help 725 help
720 This driver supports graphics boards with the nVidia chips, TNT 726 This driver supports graphics boards with the nVidia chips, TNT
721 and newer. For very old chipsets, such as the RIVA128, then use 727 and newer. For very old chipsets, such as the RIVA128, then use
@@ -754,6 +760,7 @@ config FB_RIVA
754 select FB_CFB_COPYAREA 760 select FB_CFB_COPYAREA
755 select FB_CFB_IMAGEBLIT 761 select FB_CFB_IMAGEBLIT
756 select BITREVERSE 762 select BITREVERSE
763 select VGASTATE
757 help 764 help
758 This driver supports graphics boards with the nVidia Riva/Geforce 765 This driver supports graphics boards with the nVidia Riva/Geforce
759 chips. 766 chips.
@@ -800,6 +807,7 @@ config FB_I810
800 select FB_CFB_FILLRECT 807 select FB_CFB_FILLRECT
801 select FB_CFB_COPYAREA 808 select FB_CFB_COPYAREA
802 select FB_CFB_IMAGEBLIT 809 select FB_CFB_IMAGEBLIT
810 select VGASTATE
803 help 811 help
804 This driver supports the on-board graphics built in to the Intel 810 812 This driver supports the on-board graphics built in to the Intel 810
805 and 815 chipsets. Say Y if you have and plan to use such a board. 813 and 815 chipsets. Say Y if you have and plan to use such a board.
@@ -1150,6 +1158,7 @@ config FB_S3
1150 select FB_CFB_IMAGEBLIT 1158 select FB_CFB_IMAGEBLIT
1151 select FB_TILEBLITTING 1159 select FB_TILEBLITTING
1152 select FB_SVGALIB 1160 select FB_SVGALIB
1161 select VGASTATE
1153 ---help--- 1162 ---help---
1154 Driver for graphics boards with S3 Trio / S3 Virge chip. 1163 Driver for graphics boards with S3 Trio / S3 Virge chip.
1155 1164
@@ -1160,6 +1169,7 @@ config FB_SAVAGE
1160 select FB_CFB_FILLRECT 1169 select FB_CFB_FILLRECT
1161 select FB_CFB_COPYAREA 1170 select FB_CFB_COPYAREA
1162 select FB_CFB_IMAGEBLIT 1171 select FB_CFB_IMAGEBLIT
1172 select VGASTATE
1163 help 1173 help
1164 This driver supports notebooks and computers with S3 Savage PCI/AGP 1174 This driver supports notebooks and computers with S3 Savage PCI/AGP
1165 chips. 1175 chips.
@@ -1226,6 +1236,7 @@ config FB_NEOMAGIC
1226 select FB_CFB_FILLRECT 1236 select FB_CFB_FILLRECT
1227 select FB_CFB_COPYAREA 1237 select FB_CFB_COPYAREA
1228 select FB_CFB_IMAGEBLIT 1238 select FB_CFB_IMAGEBLIT
1239 select VGASTATE
1229 help 1240 help
1230 This driver supports notebooks with NeoMagic PCI chips. 1241 This driver supports notebooks with NeoMagic PCI chips.
1231 Say Y if you have such a graphics card. 1242 Say Y if you have such a graphics card.