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