]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
drm: add PCI requirements to low-level drivers.
authorDave Airlie <airlied@redhat.com>
Thu, 8 Jul 2010 21:43:27 +0000 (07:43 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Jul 2010 21:43:27 +0000 (07:43 +1000)
Now that highlevel DRM no longer requires PCI, we can move the requirement
into the lowlevel drivers.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/nouveau/Kconfig

index 520ab23d8a3f715d0a91d047ad96c4444179225c..5b7a1a4692a0a8aa7b8953fb1a62ab1a99e21cd0 100644 (file)
@@ -130,7 +130,7 @@ endchoice
 
 config DRM_MGA
        tristate "Matrox g200/g400"
-       depends on DRM
+       depends on DRM && PCI
        select FW_LOADER
        help
          Choose this option if you have a Matrox G200, G400 or G450 graphics
@@ -148,14 +148,14 @@ config DRM_SIS
 
 config DRM_VIA
        tristate "Via unichrome video cards"
-       depends on DRM
+       depends on DRM && PCI
        help
          Choose this option if you have a Via unichrome or compatible video
          chipset. If M is selected the module will be called via.
 
 config DRM_SAVAGE
        tristate "Savage video cards"
-       depends on DRM
+       depends on DRM && PCI
        help
          Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
          chipset. If M is selected the module will be called savage.
index 1175429da1029bf18feb23813aaa223cae651283..b6f5239c2efb07004d7caa084fbefd62aa1b742c 100644 (file)
@@ -1,6 +1,6 @@
 config DRM_NOUVEAU
        tristate "Nouveau (nVidia) cards"
-       depends on DRM
+       depends on DRM && PCI
         select FW_LOADER
        select DRM_KMS_HELPER
        select DRM_TTM