Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[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         select HAVE_IDE
42         default y
43         ---help---
44            This option enables support for 16-bit PCMCIA cards. Most older
45            PC-cards are such 16-bit PCMCIA cards, so unless you know you're
46            only using 32-bit CardBus cards, say Y or M here.
47
48            To use 16-bit PCMCIA cards, you will need supporting software in
49            most cases. (see the file <file:Documentation/Changes> for
50            location and details).
51
52            To compile this driver as modules, choose M here: the
53            module will be called pcmcia.
54
55            If unsure, say Y.
56
57 config PCMCIA_LOAD_CIS
58         bool "Load CIS updates from userspace (EXPERIMENTAL)"
59         depends on PCMCIA && EXPERIMENTAL
60         select FW_LOADER
61         default y
62         help
63           Some PCMCIA cards require an updated Card Information Structure (CIS)
64           to be loaded from userspace to work correctly. If you say Y here,
65           and your userspace is arranged correctly, this will be loaded
66           automatically using the in-kernel firmware loader and the hotplug
67           subsystem, instead of relying on cardmgr from pcmcia-cs to do so.
68
69           If unsure, say Y.
70
71 config PCMCIA_IOCTL
72         bool "PCMCIA control ioctl (obsolete)"
73         depends on PCMCIA
74         default y
75         help
76           If you say Y here, the deprecated ioctl interface to the PCMCIA
77           subsystem will be built. It is needed by cardmgr and cardctl
78           (pcmcia-cs) to function properly.
79
80           You should use the new pcmciautils package instead (see
81           <file:Documentation/Changes> for location and details).
82
83           If unsure, say Y.
84
85 config CARDBUS
86         bool "32-bit CardBus support"   
87         depends on PCI
88         default y
89         ---help---
90           CardBus is a bus mastering architecture for PC-cards, which allows
91           for 32 bit PC-cards (the original PCMCIA standard specifies only
92           a 16 bit wide bus). Many newer PC-cards are actually CardBus cards.
93
94           To use 32 bit PC-cards, you also need a CardBus compatible host
95           bridge. Virtually all modern PCMCIA bridges do this, and most of
96           them are "yenta-compatible", so say Y or M there, too.
97
98           If unsure, say Y.
99
100 comment "PC-card bridges"
101
102 config YENTA
103         tristate "CardBus yenta-compatible bridge support"
104         depends on PCI
105         select CARDBUS if !EMBEDDED
106         select PCCARD_NONSTATIC
107         ---help---
108           This option enables support for CardBus host bridges.  Virtually
109           all modern PCMCIA bridges are CardBus compatible.  A "bridge" is 
110           the hardware inside your computer that PCMCIA cards are plugged 
111           into.
112
113           To compile this driver as modules, choose M here: the
114           module will be called yenta_socket.
115
116           If unsure, say Y.
117
118 config YENTA_O2
119         default y
120         bool "Special initialization for O2Micro bridges" if EMBEDDED
121         depends on YENTA
122
123 config YENTA_RICOH
124         default y
125         bool "Special initialization for Ricoh bridges" if EMBEDDED
126         depends on YENTA
127
128 config YENTA_TI
129         default y
130         bool "Special initialization for TI and EnE bridges" if EMBEDDED
131         depends on YENTA
132
133 config YENTA_ENE_TUNE
134         default y
135         bool "Auto-tune EnE bridges for CB cards" if EMBEDDED
136         depends on YENTA_TI && CARDBUS
137
138 config YENTA_TOSHIBA
139         default y
140         bool "Special initialization for Toshiba ToPIC bridges" if EMBEDDED
141         depends on YENTA
142
143 config PD6729
144         tristate "Cirrus PD6729 compatible bridge support"
145         depends on PCMCIA && PCI
146         select PCCARD_NONSTATIC
147         help
148           This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge
149           device, found in some older laptops and PCMCIA card readers.
150
151 config I82092
152         tristate "i82092 compatible bridge support"
153         depends on PCMCIA && PCI
154         select PCCARD_NONSTATIC
155         help
156           This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,
157           found in some older laptops and more commonly in evaluation boards for the
158           chip.
159
160 config I82365
161         tristate "i82365 compatible bridge support"
162         depends on PCMCIA && ISA
163         select PCCARD_NONSTATIC
164         help
165           Say Y here to include support for ISA-bus PCMCIA host bridges that
166           are register compatible with the Intel i82365.  These are found on
167           older laptops and ISA-bus card readers for desktop systems.  A
168           "bridge" is the hardware inside your computer that PCMCIA cards are
169           plugged into. If unsure, say N.
170
171 config TCIC
172         tristate "Databook TCIC host bridge support"
173         depends on PCMCIA && ISA
174         select PCCARD_NONSTATIC
175         help
176           Say Y here to include support for the Databook TCIC family of PCMCIA
177           host bridges. These are only found on a handful of old systems.
178           "Bridge" is the name used for the hardware inside your computer that
179           PCMCIA cards are plugged into. If unsure, say N.
180
181 config PCMCIA_M8XX
182         tristate "MPC8xx PCMCIA support"
183         depends on PCMCIA && PPC && 8xx
184         select PCCARD_IODYN
185         select PCCARD_NONSTATIC
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
192 config HD64465_PCMCIA
193         tristate "HD64465 host bridge support"
194         depends on HD64465 && PCMCIA
195
196 config PCMCIA_AU1X00
197         tristate "Au1x00 pcmcia support"
198         depends on SOC_AU1X00 && PCMCIA
199
200 config 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
210 config 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
220 config PCMCIA_PXA2XX
221         tristate "PXA2xx support"
222         depends on ARM && ARCH_PXA && PCMCIA
223         depends on ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL || MACH_ARMCORE
224         help
225           Say Y here to include support for the PXA2xx PCMCIA controller
226
227 config PCMCIA_PROBE
228         bool
229         default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X && !PARISC
230
231 config 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
238 config 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
245 config 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
252 config PCMCIA_VRC4171
253         tristate "NEC VRC4171 Card Controllers support"
254         depends on CPU_VR41XX && ISA && PCMCIA
255
256 config PCMCIA_VRC4173
257         tristate "NEC VRC4173 CARDU support"
258         depends on CPU_VR41XX && PCI && PCMCIA
259
260 config 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
267 config AT91_CF
268         tristate "AT91 CompactFlash Controller"
269         depends on PCMCIA && ARCH_AT91RM9200
270         help
271           Say Y here to support the CompactFlash controller on AT91 chips.
272           Or choose M to compile the driver as a module named "at91_cf".
273
274 config ELECTRA_CF
275         tristate "Electra CompactFlash Controller"
276         depends on PCMCIA && PPC_PASEMI
277         help
278           Say Y here to support the CompactFlash controller on the
279           PA Semi Electra eval board.
280
281 config PCCARD_NONSTATIC
282         tristate
283
284 config PCCARD_IODYN
285         bool
286
287 endif   # PCCARD