blob: 0a6601c76809bb90c041742c5f8ba437f9be6814 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
Dominik Brodowskibf45d9b02005-07-07 17:58:58 -07002# PCCARD (PCMCIA/CardBus) bus subsystem configuration
Linus Torvalds1da177e2005-04-16 15:20:36 -07003#
4
Jan Engelhardt42c53232007-10-16 01:23:48 -07005menuconfig PCCARD
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 tristate "PCCard (PCMCIA/CardBus) support"
Andrew Morton135c2942006-07-10 04:43:48 -07007 depends on HOTPLUG
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 ---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
Dominik Brodowski9a5555b2005-06-27 16:28:47 -070012 actually two varieties of these cards: 16 bit PCMCIA and 32 bit
13 CardBus cards.
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15 To compile this driver as modules, choose M here: the
16 module will be called pcmcia_core.
17
18if PCCARD
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020config PCMCIA
21 tristate "16-bit PCMCIA support"
Dominik Brodowskif861bd22005-06-27 16:28:57 -070022 select CRC32
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 default y
24 ---help---
25 This option enables support for 16-bit PCMCIA cards. Most older
26 PC-cards are such 16-bit PCMCIA cards, so unless you know you're
27 only using 32-bit CardBus cards, say Y or M here.
28
Dominik Brodowski9a5555b2005-06-27 16:28:47 -070029 To use 16-bit PCMCIA cards, you will need supporting software in
30 most cases. (see the file <file:Documentation/Changes> for
31 location and details).
Linus Torvalds1da177e2005-04-16 15:20:36 -070032
33 To compile this driver as modules, choose M here: the
34 module will be called pcmcia.
35
36 If unsure, say Y.
37
Dominik Brodowskidaa95172005-06-27 16:28:14 -070038config PCMCIA_LOAD_CIS
39 bool "Load CIS updates from userspace (EXPERIMENTAL)"
40 depends on PCMCIA && EXPERIMENTAL
41 select FW_LOADER
42 default y
43 help
44 Some PCMCIA cards require an updated Card Information Structure (CIS)
45 to be loaded from userspace to work correctly. If you say Y here,
46 and your userspace is arranged correctly, this will be loaded
47 automatically using the in-kernel firmware loader and the hotplug
48 subsystem, instead of relying on cardmgr from pcmcia-cs to do so.
49
50 If unsure, say Y.
51
Dominik Brodowski9a5555b2005-06-27 16:28:47 -070052config PCMCIA_IOCTL
Dominik Brodowskibf45d9b02005-07-07 17:58:58 -070053 bool "PCMCIA control ioctl (obsolete)"
Dominik Brodowski9a5555b2005-06-27 16:28:47 -070054 depends on PCMCIA
55 default y
56 help
57 If you say Y here, the deprecated ioctl interface to the PCMCIA
58 subsystem will be built. It is needed by cardmgr and cardctl
59 (pcmcia-cs) to function properly.
60
Dominik Brodowskibf45d9b02005-07-07 17:58:58 -070061 You should use the new pcmciautils package instead (see
62 <file:Documentation/Changes> for location and details).
Dominik Brodowski9a5555b2005-06-27 16:28:47 -070063
64 If unsure, say Y.
65
Linus Torvalds1da177e2005-04-16 15:20:36 -070066config CARDBUS
Dominik Brodowski9fea84f2009-12-07 22:11:45 +010067 bool "32-bit CardBus support"
Linus Torvalds1da177e2005-04-16 15:20:36 -070068 depends on PCI
69 default y
70 ---help---
71 CardBus is a bus mastering architecture for PC-cards, which allows
72 for 32 bit PC-cards (the original PCMCIA standard specifies only
73 a 16 bit wide bus). Many newer PC-cards are actually CardBus cards.
74
75 To use 32 bit PC-cards, you also need a CardBus compatible host
76 bridge. Virtually all modern PCMCIA bridges do this, and most of
77 them are "yenta-compatible", so say Y or M there, too.
78
79 If unsure, say Y.
80
81comment "PC-card bridges"
82
83config YENTA
84 tristate "CardBus yenta-compatible bridge support"
Dominik Brodowski89b39f52005-07-07 17:59:09 -070085 depends on PCI
86 select CARDBUS if !EMBEDDED
Michal Marek9d9c98e2010-01-07 21:03:11 +010087 select PCCARD_NONSTATIC if PCMCIA != n
Linus Torvalds1da177e2005-04-16 15:20:36 -070088 ---help---
89 This option enables support for CardBus host bridges. Virtually
Dominik Brodowski9fea84f2009-12-07 22:11:45 +010090 all modern PCMCIA bridges are CardBus compatible. A "bridge" is
91 the hardware inside your computer that PCMCIA cards are plugged
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 into.
93
94 To compile this driver as modules, choose M here: the
95 module will be called yenta_socket.
96
97 If unsure, say Y.
98
Daniel Ritz63e7ebd2005-11-03 21:12:14 +010099config YENTA_O2
100 default y
101 bool "Special initialization for O2Micro bridges" if EMBEDDED
102 depends on YENTA
103
104config YENTA_RICOH
105 default y
106 bool "Special initialization for Ricoh bridges" if EMBEDDED
107 depends on YENTA
108
109config YENTA_TI
110 default y
111 bool "Special initialization for TI and EnE bridges" if EMBEDDED
112 depends on YENTA
113
114config YENTA_ENE_TUNE
115 default y
116 bool "Auto-tune EnE bridges for CB cards" if EMBEDDED
117 depends on YENTA_TI && CARDBUS
118
119config YENTA_TOSHIBA
120 default y
121 bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED
122 depends on YENTA
123
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124config PD6729
125 tristate "Cirrus PD6729 compatible bridge support"
126 depends on PCMCIA && PCI
127 select PCCARD_NONSTATIC
128 help
129 This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge
130 device, found in some older laptops and PCMCIA card readers.
131
132config I82092
133 tristate "i82092 compatible bridge support"
134 depends on PCMCIA && PCI
135 select PCCARD_NONSTATIC
136 help
137 This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,
138 found in some older laptops and more commonly in evaluation boards for the
139 chip.
140
141config I82365
142 tristate "i82365 compatible bridge support"
143 depends on PCMCIA && ISA
144 select PCCARD_NONSTATIC
145 help
146 Say Y here to include support for ISA-bus PCMCIA host bridges that
147 are register compatible with the Intel i82365. These are found on
148 older laptops and ISA-bus card readers for desktop systems. A
149 "bridge" is the hardware inside your computer that PCMCIA cards are
150 plugged into. If unsure, say N.
151
152config TCIC
153 tristate "Databook TCIC host bridge support"
Komuro81000802005-09-24 23:12:40 -0700154 depends on PCMCIA && ISA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155 select PCCARD_NONSTATIC
156 help
157 Say Y here to include support for the Databook TCIC family of PCMCIA
158 host bridges. These are only found on a handful of old systems.
159 "Bridge" is the name used for the hardware inside your computer that
160 PCMCIA cards are plugged into. If unsure, say N.
161
Marcelo Tosattide957c82005-10-28 17:46:13 -0700162config PCMCIA_M8XX
Vitaly Bordug80128ff2007-07-09 11:37:35 -0700163 tristate "MPC8xx PCMCIA support"
Michal Marek9d9c98e2010-01-07 21:03:11 +0100164 depends on PCCARD && PPC && 8xx
165 select PCCARD_IODYN if PCMCIA != n
Vitaly Bordug80128ff2007-07-09 11:37:35 -0700166 help
167 Say Y here to include support for PowerPC 8xx series PCMCIA
168 controller.
Marcelo Tosattide957c82005-10-28 17:46:13 -0700169
Vitaly Bordug80128ff2007-07-09 11:37:35 -0700170 This driver is also available as a module called m8xx_pcmcia.
Marcelo Tosattide957c82005-10-28 17:46:13 -0700171
Linus Torvalds1da177e2005-04-16 15:20:36 -0700172config PCMCIA_AU1X00
173 tristate "Au1x00 pcmcia support"
174 depends on SOC_AU1X00 && PCMCIA
175
Manuel Lauss66213b32009-10-04 14:55:27 +0200176config PCMCIA_ALCHEMY_DEVBOARD
177 tristate "Alchemy Db/Pb1xxx PCMCIA socket services"
178 depends on SOC_AU1X00 && PCMCIA
179 select 64BIT_PHYS_ADDR
180 help
181 Enable this driver of you want PCMCIA support on your Alchemy
182 Db1000, Db/Pb1100, Db/Pb1500, Db/Pb1550, Db/Pb1200 board.
183 NOT suitable for the PB1000!
184
185 This driver is also available as a module called db1xxx_ss.ko
186
Manuel Lauss0273b4e2009-10-04 14:55:29 +0200187config PCMCIA_XXS1500
188 tristate "MyCable XXS1500 PCMCIA socket support"
189 depends on PCMCIA && MIPS_XXS1500
190 select 64BIT_PHYS_ADDR
191 help
192 Support for the PCMCIA/CF socket interface on MyCable XXS1500
193 systems.
194
195 This driver is also available as a module called xxs1500_ss.ko
196
Maxime Bizon553d6d52009-09-28 14:49:43 +0200197config PCMCIA_BCM63XX
198 tristate "bcm63xx pcmcia support"
199 depends on BCM63XX && PCMCIA
200
Russell King - ARM Linux0f767de2009-03-26 21:14:19 +0000201config PCMCIA_SOC_COMMON
Russell King1bf8e622009-12-06 16:58:50 +0000202 tristate
Russell King - ARM Linux0f767de2009-03-26 21:14:19 +0000203
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204config PCMCIA_SA1100
205 tristate "SA1100 support"
206 depends on ARM && ARCH_SA1100 && PCMCIA
Russell King - ARM Linux0f767de2009-03-26 21:14:19 +0000207 select PCMCIA_SOC_COMMON
Linus Torvalds1da177e2005-04-16 15:20:36 -0700208 help
209 Say Y here to include support for SA11x0-based PCMCIA or CF
210 sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
211 Xscale(R) embedded machines.
212
213 This driver is also available as a module called sa1100_cs.
214
215config PCMCIA_SA1111
216 tristate "SA1111 support"
217 depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA
Russell King - ARM Linux0f767de2009-03-26 21:14:19 +0000218 select PCMCIA_SOC_COMMON
Linus Torvalds1da177e2005-04-16 15:20:36 -0700219 help
220 Say Y here to include support for SA1111-based PCMCIA or CF
221 sockets, found on the Jornada 720, Graphicsmaster and other
222 StrongARM(R)/Xscale(R) embedded machines.
223
224 This driver is also available as a module called sa1111_cs.
225
226config PCMCIA_PXA2XX
227 tristate "PXA2xx support"
228 depends on ARM && ARCH_PXA && PCMCIA
Marek VaĊĦut35978402008-07-07 17:28:59 +0100229 depends on (ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL \
Russell Kingcc513ac2008-10-07 19:08:32 +0100230 || MACH_ARMCORE || ARCH_PXA_PALM || TRIZEPS_PCMCIA \
Marc Zyngierc2de1c382009-11-14 13:39:13 +0100231 || ARCOM_PCMCIA || ARCH_PXA_ESERIES || MACH_STARGATE2)
Russell King - ARM Linux0f767de2009-03-26 21:14:19 +0000232 select PCMCIA_SOC_COMMON
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233 help
234 Say Y here to include support for the PXA2xx PCMCIA controller
235
Dominik Brodowskic9f50dd2009-10-23 12:56:46 +0200236config PCMCIA_DEBUG
237 bool "Enable debugging"
238 depends on (PCMCIA_SA1111 || PCMCIA_SA1100 || PCMCIA_PXA2XX)
239 help
240 Say Y here to enable debugging for the SoC PCMCIA layer.
241 You will need to choose the debugging level either via the
242 kernel command line, or module options depending whether
243 you build the drivers as modules.
244
245 The kernel command line options are:
246 sa11xx_core.pc_debug=N
247 pxa2xx_core.pc_debug=N
248
249 The module option is called pc_debug=N
250
251 In all the above examples, N is the debugging verbosity
252 level.
253
Linus Torvalds1da177e2005-04-16 15:20:36 -0700254config PCMCIA_PROBE
255 bool
Dominik Brodowski6423efa2005-12-11 20:47:44 +0100256 default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X && !PARISC
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257
258config M32R_PCC
259 bool "M32R PCMCIA I/F"
260 depends on M32R && CHIP_M32700 && PCMCIA
261 help
262 Say Y here to use the M32R PCMCIA controller.
263
264config M32R_CFC
265 bool "M32R CF I/F Controller"
Hirokazu Takata934bb7f2005-06-21 17:16:14 -0700266 depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267 help
268 Say Y here to use the M32R CompactFlash controller.
269
270config M32R_CFC_NUM
271 int "M32R CF I/F number"
272 depends on M32R_CFC
Hirokazu Takata934bb7f2005-06-21 17:16:14 -0700273 default "1" if PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700274 help
275 Set the number of M32R CF slots.
276
277config PCMCIA_VRC4171
278 tristate "NEC VRC4171 Card Controllers support"
Yoichi Yuasadaaeb722006-04-06 15:08:29 +0900279 depends on CPU_VR41XX && ISA && PCMCIA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700280
281config PCMCIA_VRC4173
282 tristate "NEC VRC4173 CARDU support"
283 depends on CPU_VR41XX && PCI && PCMCIA
284
David Brownellf74e48a2005-09-09 13:03:28 -0700285config OMAP_CF
286 tristate "OMAP CompactFlash Controller"
287 depends on PCMCIA && ARCH_OMAP16XX
288 help
289 Say Y here to support the CompactFlash controller on OMAP.
290 Note that this doesn't support "True IDE" mode.
291
Michael Hennerich785e8212008-06-11 09:06:16 +0200292config BFIN_CFPCMCIA
293 tristate "Blackfin CompactFlash PCMCIA Driver"
294 depends on PCMCIA && BLACKFIN
295 help
296 Say Y here to support the CompactFlash PCMCIA driver for Blackfin.
297
298
Andrew Victor2c1f3b72006-02-21 12:56:52 +0200299config AT91_CF
300 tristate "AT91 CompactFlash Controller"
301 depends on PCMCIA && ARCH_AT91RM9200
302 help
303 Say Y here to support the CompactFlash controller on AT91 chips.
304 Or choose M to compile the driver as a module named "at91_cf".
305
Olof Johansson2b571a02007-10-16 23:26:20 -0700306config ELECTRA_CF
307 tristate "Electra CompactFlash Controller"
308 depends on PCMCIA && PPC_PASEMI
309 help
310 Say Y here to support the CompactFlash controller on the
311 PA Semi Electra eval board.
312
Linus Torvalds1da177e2005-04-16 15:20:36 -0700313config PCCARD_NONSTATIC
314 tristate
315
Dominik Brodowski3b27e942005-12-07 12:32:20 +0100316config PCCARD_IODYN
317 bool
318
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319endif # PCCARD