[PATCH] pcmcia: fix i82365 request_region double usage
[linux-2.6-block.git] / drivers / pcmcia / Kconfig
CommitLineData
1da177e4
LT
1#
2# PCMCIA bus subsystem configuration
3#
4# Right now the non-CardBus choices are not supported
5# by the integrated kernel driver.
6#
7
8menu "PCCARD (PCMCIA/CardBus) support"
9
10config PCCARD
11 tristate "PCCard (PCMCIA/CardBus) support"
12 select HOTPLUG
13 ---help---
14 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
15 computer. These are credit-card size devices such as network cards,
16 modems or hard drives often used with laptops computers. There are
9a5555b8
DB
17 actually two varieties of these cards: 16 bit PCMCIA and 32 bit
18 CardBus cards.
1da177e4
LT
19
20 To compile this driver as modules, choose M here: the
21 module will be called pcmcia_core.
22
23if PCCARD
24
25config PCMCIA_DEBUG
26 bool "Enable PCCARD debugging"
27 help
28 Say Y here to enable PCMCIA subsystem debugging. You
29 will need to choose the debugging level either via the
30 kernel command line, or module options depending whether
31 you build the PCMCIA as modules.
32
33 The kernel command line options are:
34 pcmcia_core.pc_debug=N
35 ds.pc_debug=N
36 sa11xx_core.pc_debug=N
37
38 The module option is called pc_debug=N
39
40 In all the above examples, N is the debugging verbosity
41 level.
42
43config PCMCIA
44 tristate "16-bit PCMCIA support"
f861bd23 45 select CRC32
1da177e4
LT
46 default y
47 ---help---
48 This option enables support for 16-bit PCMCIA cards. Most older
49 PC-cards are such 16-bit PCMCIA cards, so unless you know you're
50 only using 32-bit CardBus cards, say Y or M here.
51
9a5555b8
DB
52 To use 16-bit PCMCIA cards, you will need supporting software in
53 most cases. (see the file <file:Documentation/Changes> for
54 location and details).
1da177e4
LT
55
56 To compile this driver as modules, choose M here: the
57 module will be called pcmcia.
58
59 If unsure, say Y.
60
daa9517d
DB
61config PCMCIA_LOAD_CIS
62 bool "Load CIS updates from userspace (EXPERIMENTAL)"
63 depends on PCMCIA && EXPERIMENTAL
64 select FW_LOADER
65 default y
66 help
67 Some PCMCIA cards require an updated Card Information Structure (CIS)
68 to be loaded from userspace to work correctly. If you say Y here,
69 and your userspace is arranged correctly, this will be loaded
70 automatically using the in-kernel firmware loader and the hotplug
71 subsystem, instead of relying on cardmgr from pcmcia-cs to do so.
72
73 If unsure, say Y.
74
9a5555b8
DB
75config PCMCIA_IOCTL
76 bool
77 depends on PCMCIA
78 default y
79 help
80 If you say Y here, the deprecated ioctl interface to the PCMCIA
81 subsystem will be built. It is needed by cardmgr and cardctl
82 (pcmcia-cs) to function properly.
83
84 If you do not use the new pcmciautils package, and have a
85 yenta, Cirrus PD6729, i82092, i82365 or tcic compatible bridge,
86 you need to say Y here to be able to use 16-bit PCMCIA cards.
87
88 If unsure, say Y.
89
1da177e4
LT
90config CARDBUS
91 bool "32-bit CardBus support"
92 depends on PCI
93 default y
94 ---help---
95 CardBus is a bus mastering architecture for PC-cards, which allows
96 for 32 bit PC-cards (the original PCMCIA standard specifies only
97 a 16 bit wide bus). Many newer PC-cards are actually CardBus cards.
98
99 To use 32 bit PC-cards, you also need a CardBus compatible host
100 bridge. Virtually all modern PCMCIA bridges do this, and most of
101 them are "yenta-compatible", so say Y or M there, too.
102
103 If unsure, say Y.
104
105comment "PC-card bridges"
106
107config YENTA
108 tristate "CardBus yenta-compatible bridge support"
1da177e4
LT
109 depends on CARDBUS
110 select PCCARD_NONSTATIC
111 ---help---
112 This option enables support for CardBus host bridges. Virtually
113 all modern PCMCIA bridges are CardBus compatible. A "bridge" is
114 the hardware inside your computer that PCMCIA cards are plugged
115 into.
116
117 To compile this driver as modules, choose M here: the
118 module will be called yenta_socket.
119
120 If unsure, say Y.
121
122config PD6729
123 tristate "Cirrus PD6729 compatible bridge support"
124 depends on PCMCIA && PCI
125 select PCCARD_NONSTATIC
126 help
127 This provides support for the Cirrus PD6729 PCI-to-PCMCIA bridge
128 device, found in some older laptops and PCMCIA card readers.
129
130config I82092
131 tristate "i82092 compatible bridge support"
132 depends on PCMCIA && PCI
133 select PCCARD_NONSTATIC
134 help
135 This provides support for the Intel I82092AA PCI-to-PCMCIA bridge device,
136 found in some older laptops and more commonly in evaluation boards for the
137 chip.
138
139config I82365
140 tristate "i82365 compatible bridge support"
141 depends on PCMCIA && ISA
142 select PCCARD_NONSTATIC
143 help
144 Say Y here to include support for ISA-bus PCMCIA host bridges that
145 are register compatible with the Intel i82365. These are found on
146 older laptops and ISA-bus card readers for desktop systems. A
147 "bridge" is the hardware inside your computer that PCMCIA cards are
148 plugged into. If unsure, say N.
149
150config TCIC
151 tristate "Databook TCIC host bridge support"
152 depends on PCMCIA
153 select PCCARD_NONSTATIC
154 help
155 Say Y here to include support for the Databook TCIC family of PCMCIA
156 host bridges. These are only found on a handful of old systems.
157 "Bridge" is the name used for the hardware inside your computer that
158 PCMCIA cards are plugged into. If unsure, say N.
159
160config HD64465_PCMCIA
161 tristate "HD64465 host bridge support"
162 depends on HD64465 && PCMCIA
163
164config PCMCIA_AU1X00
165 tristate "Au1x00 pcmcia support"
166 depends on SOC_AU1X00 && PCMCIA
167
168config PCMCIA_SA1100
169 tristate "SA1100 support"
170 depends on ARM && ARCH_SA1100 && PCMCIA
171 help
172 Say Y here to include support for SA11x0-based PCMCIA or CF
173 sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
174 Xscale(R) embedded machines.
175
176 This driver is also available as a module called sa1100_cs.
177
178config PCMCIA_SA1111
179 tristate "SA1111 support"
180 depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA
181 help
182 Say Y here to include support for SA1111-based PCMCIA or CF
183 sockets, found on the Jornada 720, Graphicsmaster and other
184 StrongARM(R)/Xscale(R) embedded machines.
185
186 This driver is also available as a module called sa1111_cs.
187
188config PCMCIA_PXA2XX
189 tristate "PXA2xx support"
190 depends on ARM && ARCH_PXA && PCMCIA
191 help
192 Say Y here to include support for the PXA2xx PCMCIA controller
193
194config PCMCIA_PROBE
195 bool
196 default y if ISA && !ARCH_SA1100 && !ARCH_CLPS711X
197
198config M32R_PCC
199 bool "M32R PCMCIA I/F"
200 depends on M32R && CHIP_M32700 && PCMCIA
934bb7f8 201 select PCCARD_NONSTATIC
1da177e4
LT
202 help
203 Say Y here to use the M32R PCMCIA controller.
204
205config M32R_CFC
206 bool "M32R CF I/F Controller"
934bb7f8
HT
207 depends on M32R && (PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT)
208 select PCCARD_NONSTATIC
1da177e4
LT
209 help
210 Say Y here to use the M32R CompactFlash controller.
211
212config M32R_CFC_NUM
213 int "M32R CF I/F number"
214 depends on M32R_CFC
934bb7f8 215 default "1" if PLAT_USRV || PLAT_M32700UT || PLAT_MAPPI2 || PLAT_MAPPI3 || PLAT_OPSPUT
1da177e4
LT
216 help
217 Set the number of M32R CF slots.
218
219config PCMCIA_VRC4171
220 tristate "NEC VRC4171 Card Controllers support"
221 depends on VRC4171 && PCMCIA
222
223config PCMCIA_VRC4173
224 tristate "NEC VRC4173 CARDU support"
225 depends on CPU_VR41XX && PCI && PCMCIA
226
227config PCCARD_NONSTATIC
228 tristate
229
230endif # PCCARD
231
232endmenu