[PATCH] Limit VIA and SIS AGP choices to x86

Matthew Wilcox
2006-07-05T17:57:27Z

As far as I am aware, Alpha, PPC and IA64 don't have VIA or SIS AGP
chipsets available.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>

Index: ./drivers/char/agp/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/char/agp/Kconfig,v
retrieving revision 1.16
diff -u -p -r1.16 Kconfig
--- ./drivers/char/agp/Kconfig 13 Jun 2006 16:25:20 -0000 1.16
+++ ./drivers/char/agp/Kconfig 5 Jul 2006 17:52:48 -0000
@@ -75,8 +75,6 @@ config AGP_INTEL
E7205 and E7505 chipsets and full support for the 810, 815, 830M,
845G, 852GM, 855GM, 865G and I915 integrated graphics chipsets.

-
-
config AGP_NVIDIA
tristate "NVIDIA nForce/nForce2 chipset support"
depends on AGP && X86_32
@@ -86,7 +84,7 @@ config AGP_NVIDIA

config AGP_SIS
tristate "SiS chipset support"
- depends on AGP
+ depends on AGP && X86
help
This option gives you AGP support for the GLX component of
X on Silicon Integrated Systems [SiS] chipsets.
@@ -103,7 +101,7 @@ config AGP_SWORKS

config AGP_VIA
tristate "VIA chipset support"
- depends on AGP
+ depends on AGP && X86
help
This option gives you AGP support for the GLX component of
X on VIA MVP3/Apollo Pro chipsets.