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