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