Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa...
[sfrench/cifs-2.6.git] / drivers / pcmcia / Kconfig
1 #
2 # PCCARD (PCMCIA/CardBus) bus subsystem configuration
3 #
4
5 menuconfig 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
18 if PCCARD
19
20 config 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
38 config 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
56 config 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
70 config 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
84 config 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
99 comment "PC-card bridges"
100
101 config 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
117 config YENTA_O2
118         default y
119         bool "Special initialization for O2Micro bridges" if EMBEDDED
120         depends on YENTA
121
122 config YENTA_RICOH
123         default y
124         bool "Special initialization for Ricoh bridges" if EMBEDDED
125         depends on YENTA
126
127 config YENTA_TI
128         default y
129         bool "Special initialization for TI and EnE bridges" if EMBEDDED
130         depends on YENTA
131
132 config YENTA_ENE_TUNE
133         default y
134         bool "Auto-tune EnE bridges for CB cards" if EMBEDDED
135         depends on YENTA_TI && CARDBUS
136
137 config YENTA_TOSHIBA
138         default y
139         bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED
140         depends on YENTA
141
142 config 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
150 config 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
159 config 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
170 config 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
180 config 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
191 config PCMCIA_AU1X00
192         tristate "Au1x00 pcmcia support"
193         depends on SOC_AU1X00 && PCMCIA
194
195 config PCMCIA_SA1100
196         tristate "SA1100 support"
197         depends on ARM && ARCH_SA1100 && PCMCIA
198         help
199           Say Y here to include support for SA11x0-based PCMCIA or CF
200           sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
201           Xscale(R) embedded machines.
202
203           This driver is also available as a module called sa1100_cs.
204
205 config PCMCIA_SA1111
206         tristate "SA1111 support"
207         depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA
208         help
209           Say Y  here to include support for SA1111-based PCMCIA or CF
210           sockets, found on the Jornada 720, Graphicsmaster and other
211           StrongARM(R)/Xscale(R) embedded machines.
212
213           This driver is also available as a module called sa1111_cs.
214
215 config PCMCIA_PXA2XX
216         tristate "PXA2xx support"
217         depends on ARM && ARCH_PXA && PCMCIA
218         depends on (ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL \
219                     || MACH_ARMCORE || ARCH_PXA_PALM || TRIZEPS_PCMCIA \
220                     || ARCH_VIPER || ARCH_PXA_ESERIES || MACH_STARGATE2)
221         help
222           Say Y here to include support for the PXA2xx PCMCIA controller
223
224 config PCMCIA_PROBE
225         bool
226         default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X && !PARISC
227
228 config M32R_PCC
229         bool "M32R PCMCIA I/F"
230         depends on M32R && CHIP_M32700 && PCMCIA
231         select PCCARD_NONSTATIC
232         help
233           Say Y here to use the M32R PCMCIA controller.
234
235 config M32R_CFC
236         bool "M32R CF I/F Controller"
237         depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT)
238         select PCCARD_NONSTATIC
239         help
240           Say Y here to use the M32R CompactFlash controller.
241
242 config M32R_CFC_NUM
243         int "M32R CF I/F number"
244         depends on M32R_CFC
245         default "1" if PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT
246         help
247           Set the number of M32R CF slots.
248
249 config PCMCIA_VRC4171
250         tristate "NEC VRC4171 Card Controllers support"
251         depends on CPU_VR41XX && ISA && PCMCIA
252
253 config PCMCIA_VRC4173
254         tristate "NEC VRC4173 CARDU support"
255         depends on CPU_VR41XX && PCI && PCMCIA
256
257 config OMAP_CF
258         tristate "OMAP CompactFlash Controller"
259         depends on PCMCIA && ARCH_OMAP16XX
260         help
261           Say Y here to support the CompactFlash controller on OMAP.
262           Note that this doesn't support "True IDE" mode.
263
264 config BFIN_CFPCMCIA
265         tristate "Blackfin CompactFlash PCMCIA Driver"
266         depends on PCMCIA && BLACKFIN
267         help
268           Say Y here to support the CompactFlash PCMCIA driver for Blackfin.
269
270
271 config AT91_CF
272         tristate "AT91 CompactFlash Controller"
273         depends on PCMCIA && ARCH_AT91RM9200
274         help
275           Say Y here to support the CompactFlash controller on AT91 chips.
276           Or choose M to compile the driver as a module named "at91_cf".
277
278 config ELECTRA_CF
279         tristate "Electra CompactFlash Controller"
280         depends on PCMCIA && PPC_PASEMI
281         help
282           Say Y here to support the CompactFlash controller on the
283           PA Semi Electra eval board.
284
285 config PCCARD_NONSTATIC
286         tristate
287
288 config PCCARD_IODYN
289         bool
290
291 endif   # PCCARD