xref: /linux/drivers/pcmcia/Kconfig (revision 858259cf7d1c443c836a2022b78cb281f0a9b95e)
1#
2# PCCARD (PCMCIA/CardBus) bus subsystem configuration
3#
4
5menu "PCCARD (PCMCIA/CardBus) support"
6
7config PCCARD
8	tristate "PCCard (PCMCIA/CardBus) support"
9	select HOTPLUG
10	---help---
11	  Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
12	  computer.  These are credit-card size devices such as network cards,
13	  modems or hard drives often used with laptops computers.  There are
14	  actually two varieties of these cards: 16 bit PCMCIA and 32 bit
15	  CardBus cards.
16
17	  To compile this driver as modules, choose M here: the
18	  module will be called pcmcia_core.
19
20if PCCARD
21
22config PCMCIA_DEBUG
23	bool "Enable PCCARD debugging"
24	help
25	  Say Y here to enable PCMCIA subsystem debugging.  You
26	  will need to choose the debugging level either via the
27	  kernel command line, or module options depending whether
28	  you build the PCMCIA as modules.
29
30	  The kernel command line options are:
31	    pcmcia_core.pc_debug=N
32	    pcmcia.pc_debug=N
33	    sa11xx_core.pc_debug=N
34
35	  The module option is called pc_debug=N
36
37	  In all the above examples, N is the debugging verbosity
38	  level.
39
40config PCMCIA
41	tristate "16-bit PCMCIA support"
42	select CRC32
43	default y
44	---help---
45	   This option enables support for 16-bit PCMCIA cards. Most older
46	   PC-cards are such 16-bit PCMCIA cards, so unless you know you're
47	   only using 32-bit CardBus cards, say Y or M here.
48
49	   To use 16-bit PCMCIA cards, you will need supporting software in
50	   most cases. (see the file <file:Documentation/Changes> for
51	   location and details).
52
53	   To compile this driver as modules, choose M here: the
54	   module will be called pcmcia.
55
56	   If unsure, say Y.
57
58config PCMCIA_LOAD_CIS
59	bool "Load CIS updates from userspace (EXPERIMENTAL)"
60	depends on PCMCIA && EXPERIMENTAL
61	select FW_LOADER
62	default y
63	help
64	  Some PCMCIA cards require an updated Card Information Structure (CIS)
65	  to be loaded from userspace to work correctly. If you say Y here,
66	  and your userspace is arranged correctly, this will be loaded
67	  automatically using the in-kernel firmware loader and the hotplug
68	  subsystem, instead of relying on cardmgr from pcmcia-cs to do so.
69
70	  If unsure, say Y.
71
72config PCMCIA_IOCTL
73	bool "PCMCIA control ioctl (obsolete)"
74	depends on PCMCIA
75	default y
76	help
77	  If you say Y here, the deprecated ioctl interface to the PCMCIA
78	  subsystem will be built. It is needed by cardmgr and cardctl
79	  (pcmcia-cs) to function properly.
80
81	  You should use the new pcmciautils package instead (see
82	  <file:Documentation/Changes> for location and details).
83
84	  If unsure, say Y.
85
86config CARDBUS
87	bool "32-bit CardBus support"
88	depends on PCI
89	default y
90	---help---
91	  CardBus is a bus mastering architecture for PC-cards, which allows
92	  for 32 bit PC-cards (the original PCMCIA standard specifies only
93	  a 16 bit wide bus). Many newer PC-cards are actually CardBus cards.
94
95	  To use 32 bit PC-cards, you also need a CardBus compatible host
96	  bridge. Virtually all modern PCMCIA bridges do this, and most of
97	  them are "yenta-compatible", so say Y or M there, too.
98
99	  If unsure, say Y.
100
101comment "PC-card bridges"
102
103config YENTA
104	tristate "CardBus yenta-compatible bridge support"
105	depends on PCI
106	select CARDBUS if !EMBEDDED
107	select PCCARD_NONSTATIC
108	---help---
109	  This option enables support for CardBus host bridges.  Virtually
110	  all modern PCMCIA bridges are CardBus compatible.  A "bridge" is
111	  the hardware inside your computer that PCMCIA cards are plugged
112	  into.
113
114	  To compile this driver as modules, choose M here: the
115	  module will be called yenta_socket.
116
117	  If unsure, say Y.
118
119config PD6729
120	tristate "Cirrus PD6729 compatible bridge support"
121	depends on PCMCIA && PCI
122	select PCCARD_NONSTATIC
123	help
124	  This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge
125	  device, found in some older laptops and PCMCIA card readers.
126
127config I82092
128	tristate "i82092 compatible bridge support"
129	depends on PCMCIA && PCI
130	select PCCARD_NONSTATIC
131	help
132	  This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,
133	  found in some older laptops and more commonly in evaluation boards for the
134	  chip.
135
136config I82365
137	tristate "i82365 compatible bridge support"
138	depends on PCMCIA && ISA
139	select PCCARD_NONSTATIC
140	help
141	  Say Y here to include support for ISA-bus PCMCIA host bridges that
142	  are register compatible with the Intel i82365.  These are found on
143	  older laptops and ISA-bus card readers for desktop systems.  A
144	  "bridge" is the hardware inside your computer that PCMCIA cards are
145	  plugged into. If unsure, say N.
146
147config TCIC
148	tristate "Databook TCIC host bridge support"
149	depends on PCMCIA && ISA
150	select PCCARD_NONSTATIC
151	help
152	  Say Y here to include support for the Databook TCIC family of PCMCIA
153	  host bridges. These are only found on a handful of old systems.
154	  "Bridge" is the name used for the hardware inside your computer that
155	  PCMCIA cards are plugged into. If unsure, say N.
156
157config PCMCIA_M8XX
158        tristate "MPC8xx PCMCIA support"
159        depends on PCMCIA && PPC
160        select PCCARD_NONSTATIC
161        help
162        Say Y here to include support for PowerPC 8xx series PCMCIA
163        controller.
164
165        This driver is also available as a module called m8xx_pcmcia.
166
167config HD64465_PCMCIA
168	tristate "HD64465 host bridge support"
169	depends on HD64465 && PCMCIA
170
171config PCMCIA_AU1X00
172	tristate "Au1x00 pcmcia support"
173	depends on SOC_AU1X00 && PCMCIA
174
175config PCMCIA_SA1100
176	tristate "SA1100 support"
177	depends on ARM && ARCH_SA1100 && PCMCIA
178	help
179	  Say Y here to include support for SA11x0-based PCMCIA or CF
180	  sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
181	  Xscale(R) embedded machines.
182
183	  This driver is also available as a module called sa1100_cs.
184
185config PCMCIA_SA1111
186	tristate "SA1111 support"
187	depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA
188	help
189	  Say Y  here to include support for SA1111-based PCMCIA or CF
190	  sockets, found on the Jornada 720, Graphicsmaster and other
191	  StrongARM(R)/Xscale(R) embedded machines.
192
193	  This driver is also available as a module called sa1111_cs.
194
195config PCMCIA_PXA2XX
196	tristate "PXA2xx support"
197	depends on ARM && ARCH_PXA && PCMCIA
198	help
199	  Say Y here to include support for the PXA2xx PCMCIA controller
200
201config PCMCIA_PROBE
202	bool
203	default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X
204
205config M32R_PCC
206	bool "M32R PCMCIA I/F"
207	depends on M32R && CHIP_M32700 && PCMCIA
208	select PCCARD_NONSTATIC
209	help
210	  Say Y here to use the M32R PCMCIA controller.
211
212config M32R_CFC
213	bool "M32R CF I/F Controller"
214	depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT)
215	select PCCARD_NONSTATIC
216	help
217	  Say Y here to use the M32R CompactFlash controller.
218
219config M32R_CFC_NUM
220	int "M32R CF I/F number"
221	depends on M32R_CFC
222	default "1" if PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT
223	help
224	  Set the number of M32R CF slots.
225
226config PCMCIA_VRC4171
227	tristate "NEC VRC4171 Card Controllers support"
228	depends on VRC4171 && PCMCIA
229
230config PCMCIA_VRC4173
231	tristate "NEC VRC4173 CARDU support"
232	depends on CPU_VR41XX && PCI && PCMCIA
233
234config OMAP_CF
235	tristate "OMAP CompactFlash Controller"
236	depends on PCMCIA && ARCH_OMAP16XX
237	help
238	  Say Y here to support the CompactFlash controller on OMAP.
239	  Note that this doesn't support "True IDE" mode.
240
241config PCCARD_NONSTATIC
242	tristate
243
244endif	# PCCARD
245
246endmenu
247