/drivers/input/gameport/Kconfig

https://bitbucket.org/evzijst/gittest · #! · 90 lines · 73 code · 17 blank · 0 comment · 0 complexity · 3efdbf7123111e0538af2643a31391bd MD5 · raw file

  1. #
  2. # Gameport configuration
  3. #
  4. config GAMEPORT
  5. tristate "Gameport support"
  6. ---help---
  7. Gameport support is for the standard 15-pin PC gameport. If you
  8. have a joystick, gamepad, gameport card, a soundcard with a gameport
  9. or anything else that uses the gameport, say Y or M here and also to
  10. at least one of the hardware specific drivers.
  11. For Ensoniq AudioPCI (ES1370), AudioPCI 97 (ES1371), ESS Solo1,
  12. S3 SonicVibes, Trident 4DWave, SiS7018, and ALi 5451 gameport
  13. support is provided by the sound drivers, so you won't need any
  14. from the below listed modules. You still need to say Y here.
  15. If unsure, say Y.
  16. To compile this driver as a module, choose M here: the
  17. module will be called gameport.
  18. if GAMEPORT
  19. config GAMEPORT_NS558
  20. tristate "Classic ISA and PnP gameport support"
  21. help
  22. Say Y here if you have an ISA or PnP gameport.
  23. If unsure, say Y.
  24. To compile this driver as a module, choose M here: the
  25. module will be called ns558.
  26. config GAMEPORT_L4
  27. tristate "PDPI Lightning 4 gamecard support"
  28. help
  29. Say Y here if you have a PDPI Lightning 4 gamecard.
  30. To compile this driver as a module, choose M here: the
  31. module will be called lightning.
  32. config GAMEPORT_EMU10K1
  33. tristate "SB Live and Audigy gameport support"
  34. depends on PCI
  35. help
  36. Say Y here if you have a SoundBlaster Live! or SoundBlaster
  37. Audigy card and want to use its gameport.
  38. To compile this driver as a module, choose M here: the
  39. module will be called emu10k1-gp.
  40. config GAMEPORT_VORTEX
  41. tristate "Aureal Vortex, Vortex 2 gameport support"
  42. depends on PCI
  43. help
  44. Say Y here if you have an Aureal Vortex 1 or 2 card and want
  45. to use its gameport.
  46. To compile this driver as a module, choose M here: the
  47. module will be called vortex.
  48. config GAMEPORT_FM801
  49. tristate "ForteMedia FM801 gameport support"
  50. depends on PCI
  51. config GAMEPORT_CS461X
  52. tristate "Crystal SoundFusion gameport support"
  53. depends on PCI
  54. endif
  55. # Yes, SOUND_GAMEPORT looks a bit odd. Yes, it ends up being turned on
  56. # in every .config. Please don't touch it. It is here to handle an
  57. # unusual dependency between GAMEPORT and sound drivers.
  58. #
  59. # Some sound drivers call gameport functions. If GAMEPORT is
  60. # not selected, empty stubs are provided for the functions and all is
  61. # well.
  62. # If GAMEPORT is built in, everything is fine.
  63. # If GAMEPORT is a module, however, it would need to be loaded for the
  64. # sound driver to be able to link properly. Therefore, the sound
  65. # driver must be a module as well in that case. Since there's no way
  66. # to express that directly in Kconfig, we use SOUND_GAMEPORT to
  67. # express it. SOUND_GAMEPORT boils down to "if GAMEPORT is 'm',
  68. # anything that depends on SOUND_GAMEPORT must be 'm' as well. if
  69. # GAMEPORT is 'y' or 'n', it can be anything".
  70. config SOUND_GAMEPORT
  71. tristate
  72. default m if GAMEPORT=m
  73. default y