Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / drivers / input / gameport / Kconfig
index 67064b1..d279454 100644 (file)
@@ -19,30 +19,10 @@ config GAMEPORT
          To compile this driver as a module, choose M here: the
          module will be called gameport.
 
-
-# Yes, SOUND_GAMEPORT looks a bit odd. Yes, it ends up being turned on
-# in every .config. Please don't touch it. It is here to handle an
-# unusual dependency between GAMEPORT and sound drivers.
-#
-# Some sound drivers call gameport functions. If GAMEPORT is
-# not selected, empty stubs are provided for the functions and all is
-# well.
-# If GAMEPORT is built in, everything is fine.
-# If GAMEPORT is a module, however, it would need to be loaded for the
-# sound driver to be able to link properly. Therefore, the sound
-# driver must be a module as well in that case. Since there's no way
-# to express that directly in Kconfig, we use SOUND_GAMEPORT to
-# express it. SOUND_GAMEPORT boils down to "if GAMEPORT is 'm',
-# anything that depends on SOUND_GAMEPORT must be 'm' as well. if
-# GAMEPORT is 'y' or 'n', it can be anything".
-config SOUND_GAMEPORT
-       tristate
-       default y if GAMEPORT!=m
-       default m if GAMEPORT=m
+if GAMEPORT
 
 config GAMEPORT_NS558
        tristate "Classic ISA and PnP gameport support"
-       depends on GAMEPORT
        help
          Say Y here if you have an ISA or PnP gameport.
 
@@ -53,7 +33,6 @@ config GAMEPORT_NS558
 
 config GAMEPORT_L4
        tristate "PDPI Lightning 4 gamecard support"
-       depends on GAMEPORT
        help
          Say Y here if you have a PDPI Lightning 4 gamecard.
 
@@ -62,7 +41,7 @@ config GAMEPORT_L4
 
 config GAMEPORT_EMU10K1
        tristate "SB Live and Audigy gameport support"
-       depends on GAMEPORT
+       depends on PCI
        help
          Say Y here if you have a SoundBlaster Live! or SoundBlaster
          Audigy card and want to use its gameport.
@@ -70,21 +49,15 @@ config GAMEPORT_EMU10K1
          To compile this driver as a module, choose M here: the
          module will be called emu10k1-gp.
 
-config GAMEPORT_VORTEX
-       tristate "Aureal Vortex, Vortex 2 gameport support"
-       depends on GAMEPORT
-       help
-         Say Y here if you have an Aureal Vortex 1 or 2  card and want
-         to use its gameport.
-
-         To compile this driver as a module, choose M here: the
-         module will be called vortex.
-
 config GAMEPORT_FM801
        tristate "ForteMedia FM801 gameport support"
-       depends on GAMEPORT
+       depends on PCI
+       help
+         Say Y here if you have ForteMedia FM801 PCI audio controller
+         (Abit AU10, Genius Sound Maker, HP Workstation zx2000,
+         and others), and want to use its gameport.
 
-config GAMEPORT_CS461x
-       tristate "Crystal SoundFusion gameport support"
-       depends on GAMEPORT
+         To compile this driver as a module, choose M here: the
+         module will be called fm801-gp.
 
+endif