xref: /linux/drivers/pcmcia/Kconfig (revision f3d9478b2ce468c3115b02ecae7e975990697f15)
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 YENTA_O2
120	default y
121	bool "Special initialization for O2Micro bridges" if EMBEDDED
122	depends on YENTA
123
124config YENTA_RICOH
125	default y
126	bool "Special initialization for Ricoh bridges" if EMBEDDED
127	depends on YENTA
128
129config YENTA_TI
130	default y
131	bool "Special initialization for TI and EnE bridges" if EMBEDDED
132	depends on YENTA
133
134config YENTA_ENE_TUNE
135	default y
136	bool "Auto-tune EnE bridges for CB cards" if EMBEDDED
137	depends on YENTA_TI && CARDBUS
138
139config YENTA_TOSHIBA
140	default y
141	bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED
142	depends on YENTA
143
144config PD6729
145	tristate "Cirrus PD6729 compatible bridge support"
146	depends on PCMCIA && PCI
147	select PCCARD_NONSTATIC
148	help
149	  This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge
150	  device, found in some older laptops and PCMCIA card readers.
151
152config I82092
153	tristate "i82092 compatible bridge support"
154	depends on PCMCIA && PCI
155	select PCCARD_NONSTATIC
156	help
157	  This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,
158	  found in some older laptops and more commonly in evaluation boards for the
159	  chip.
160
161config I82365
162	tristate "i82365 compatible bridge support"
163	depends on PCMCIA && ISA
164	select PCCARD_NONSTATIC
165	help
166	  Say Y here to include support for ISA-bus PCMCIA host bridges that
167	  are register compatible with the Intel i82365.  These are found on
168	  older laptops and ISA-bus card readers for desktop systems.  A
169	  "bridge" is the hardware inside your computer that PCMCIA cards are
170	  plugged into. If unsure, say N.
171
172config TCIC
173	tristate "Databook TCIC host bridge support"
174	depends on PCMCIA && ISA
175	select PCCARD_NONSTATIC
176	help
177	  Say Y here to include support for the Databook TCIC family of PCMCIA
178	  host bridges. These are only found on a handful of old systems.
179	  "Bridge" is the name used for the hardware inside your computer that
180	  PCMCIA cards are plugged into. If unsure, say N.
181
182config PCMCIA_M8XX
183        tristate "MPC8xx PCMCIA support"
184        depends on PCMCIA && PPC && 8xx
185        select PCCARD_IODYN
186        help
187        Say Y here to include support for PowerPC 8xx series PCMCIA
188        controller.
189
190        This driver is also available as a module called m8xx_pcmcia.
191
192config HD64465_PCMCIA
193	tristate "HD64465 host bridge support"
194	depends on HD64465 && PCMCIA
195
196config PCMCIA_AU1X00
197	tristate "Au1x00 pcmcia support"
198	depends on SOC_AU1X00 && PCMCIA
199
200config PCMCIA_SA1100
201	tristate "SA1100 support"
202	depends on ARM && ARCH_SA1100 && PCMCIA
203	help
204	  Say Y here to include support for SA11x0-based PCMCIA or CF
205	  sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
206	  Xscale(R) embedded machines.
207
208	  This driver is also available as a module called sa1100_cs.
209
210config PCMCIA_SA1111
211	tristate "SA1111 support"
212	depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA
213	help
214	  Say Y  here to include support for SA1111-based PCMCIA or CF
215	  sockets, found on the Jornada 720, Graphicsmaster and other
216	  StrongARM(R)/Xscale(R) embedded machines.
217
218	  This driver is also available as a module called sa1111_cs.
219
220config PCMCIA_PXA2XX
221	tristate "PXA2xx support"
222	depends on ARM && ARCH_PXA && PCMCIA
223	help
224	  Say Y here to include support for the PXA2xx PCMCIA controller
225
226config PCMCIA_PROBE
227	bool
228	default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X && !PARISC
229
230config M32R_PCC
231	bool "M32R PCMCIA I/F"
232	depends on M32R && CHIP_M32700 && PCMCIA
233	select PCCARD_NONSTATIC
234	help
235	  Say Y here to use the M32R PCMCIA controller.
236
237config M32R_CFC
238	bool "M32R CF I/F Controller"
239	depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT)
240	select PCCARD_NONSTATIC
241	help
242	  Say Y here to use the M32R CompactFlash controller.
243
244config M32R_CFC_NUM
245	int "M32R CF I/F number"
246	depends on M32R_CFC
247	default "1" if PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT
248	help
249	  Set the number of M32R CF slots.
250
251config PCMCIA_VRC4171
252	tristate "NEC VRC4171 Card Controllers support"
253	depends on CPU_VR41XX && ISA && PCMCIA
254
255config PCMCIA_VRC4173
256	tristate "NEC VRC4173 CARDU support"
257	depends on CPU_VR41XX && PCI && PCMCIA
258
259config OMAP_CF
260	tristate "OMAP CompactFlash Controller"
261	depends on PCMCIA && ARCH_OMAP16XX
262	help
263	  Say Y here to support the CompactFlash controller on OMAP.
264	  Note that this doesn't support "True IDE" mode.
265
266config AT91_CF
267	tristate "AT91 CompactFlash Controller"
268	depends on PCMCIA && ARCH_AT91RM9200
269	help
270	  Say Y here to support the CompactFlash controller on AT91 chips.
271	  Or choose M to compile the driver as a module named "at91_cf".
272
273config PCCARD_NONSTATIC
274	tristate
275
276config PCCARD_IODYN
277	bool
278
279endif	# PCCARD
280
281endmenu
282