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