autofs4: fix string validation check order
[linux-2.6-block.git] / drivers / char / Kconfig
CommitLineData
1da177e4
LT
1#
2# Character device configuration
3#
4
5menu "Character devices"
6
7config VT
8 bool "Virtual terminal" if EMBEDDED
abf3ea1b 9 depends on !S390
1da177e4 10 select INPUT
4c514a5a 11 default y
1da177e4
LT
12 ---help---
13 If you say Y here, you will get support for terminal devices with
14 display and keyboard devices. These are called "virtual" because you
15 can run several virtual terminals (also called virtual consoles) on
16 one physical terminal. This is rather useful, for example one
17 virtual terminal can collect system messages and warnings, another
18 one can be used for a text-mode user session, and a third could run
19 an X session, all in parallel. Switching between virtual terminals
20 is done with certain key combinations, usually Alt-<function key>.
21
22 The setterm command ("man setterm") can be used to change the
23 properties (such as colors or beeping) of a virtual terminal. The
24 man page console_codes(4) ("man console_codes") contains the special
25 character sequences that can be used to change those properties
26 directly. The fonts used on virtual terminals can be changed with
27 the setfont ("man setfont") command and the key bindings are defined
28 with the loadkeys ("man loadkeys") command.
29
30 You need at least one virtual terminal device in order to make use
31 of your keyboard and monitor. Therefore, only people configuring an
32 embedded system would want to say N here in order to save some
33 memory; the only way to log into such a system is then via a serial
34 or network connection.
35
36 If unsure, say Y, or else you won't be able to do much with your new
37 shiny Linux system :-)
38
a29ccf6f
DW
39config CONSOLE_TRANSLATIONS
40 depends on VT
41 default y
42 bool "Enable character translations in console" if EMBEDDED
43 ---help---
44 This enables support for font mapping and Unicode translation
45 on virtual consoles.
46
1da177e4
LT
47config VT_CONSOLE
48 bool "Support for console on virtual terminal" if EMBEDDED
49 depends on VT
50 default y
51 ---help---
52 The system console is the device which receives all kernel messages
53 and warnings and which allows logins in single user mode. If you
54 answer Y here, a virtual terminal (the device used to interact with
55 a physical terminal) can be used as system console. This is the most
56 common mode of operations, so you should say Y here unless you want
57 the kernel messages be output only to a serial port (in which case
58 you should say Y to "Console on serial port", below).
59
60 If you do say Y here, by default the currently visible virtual
61 terminal (/dev/tty0) will be used as system console. You can change
62 that with a kernel command line option such as "console=tty3" which
63 would use the third virtual terminal as system console. (Try "man
64 bootparam" or see the documentation of your boot loader (lilo or
65 loadlin) about how to pass options to the kernel at boot time.)
66
67 If unsure, say Y.
68
69config HW_CONSOLE
70 bool
71 depends on VT && !S390 && !UML
72 default y
73
13ae6645
AD
74config VT_HW_CONSOLE_BINDING
75 bool "Support for binding and unbinding console drivers"
76 depends on HW_CONSOLE
77 default n
78 ---help---
79 The virtual terminal is the device that interacts with the physical
80 terminal through console drivers. On these systems, at least one
81 console driver is loaded. In other configurations, additional console
82 drivers may be enabled, such as the framebuffer console. If more than
83 1 console driver is enabled, setting this to 'y' will allow you to
84 select the console driver that will serve as the backend for the
85 virtual terminals.
86
87 See <file:Documentation/console/console.txt> for more
88 information. For framebuffer console users, please refer to
89 <file:Documentation/fb/fbcon.txt>.
90
b781ecb6
AV
91config DEVKMEM
92 bool "/dev/kmem virtual device support"
93 default y
94 help
95 Say Y here if you want to support the /dev/kmem device. The
96 /dev/kmem device is rarely used, but can be used for certain
97 kind of kernel debugging operations.
98 When in doubt, say "N".
99
1da177e4
LT
100config SERIAL_NONSTANDARD
101 bool "Non-standard serial port support"
eeca7a36 102 depends on HAS_IOMEM
1da177e4
LT
103 ---help---
104 Say Y here if you have any non-standard serial boards -- boards
105 which aren't supported using the standard "dumb" serial driver.
106 This includes intelligent serial boards such as Cyclades,
107 Digiboards, etc. These are usually used for systems that need many
108 serial ports because they serve many terminals or dial-in
109 connections.
110
111 Note that the answer to this question won't directly affect the
112 kernel: saying N will just cause the configurator to skip all
113 the questions about non-standard serial boards.
114
115 Most people can say N here.
116
117config COMPUTONE
118 tristate "Computone IntelliPort Plus serial support"
3b4709a6 119 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
1da177e4
LT
120 ---help---
121 This driver supports the entire family of Intelliport II/Plus
122 controllers with the exception of the MicroChannel controllers and
123 products previous to the Intelliport II. These are multiport cards,
124 which give you many serial ports. You would need something like this
125 to connect more than two modems to your Linux box, for instance in
126 order to become a dial-in server. If you have a card like that, say
31c00fc1 127 Y here and read <file:Documentation/serial/computone.txt>.
1da177e4 128
33dda515
RK
129 To compile this driver as module, choose M here: the
130 module will be called ip2.
1da177e4
LT
131
132config ROCKETPORT
133 tristate "Comtrol RocketPort support"
27d41718 134 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
1da177e4
LT
135 help
136 This driver supports Comtrol RocketPort and RocketModem PCI boards.
137 These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or
138 modems. For information about the RocketPort/RocketModem boards
31c00fc1 139 and this driver read <file:Documentation/serial/rocket.txt>.
1da177e4
LT
140
141 To compile this driver as a module, choose M here: the
142 module will be called rocket.
143
144 If you want to compile this driver into the kernel, say Y here. If
145 you don't have a Comtrol RocketPort/RocketModem card installed, say N.
146
147config CYCLADES
148 tristate "Cyclades async mux support"
cff9494f 149 depends on SERIAL_NONSTANDARD && (PCI || ISA)
ee2077d9 150 select FW_LOADER
1da177e4
LT
151 ---help---
152 This driver supports Cyclades Z and Y multiserial boards.
153 You would need something like this to connect more than two modems to
154 your Linux box, for instance in order to become a dial-in server.
155
156 For information about the Cyclades-Z card, read
31c00fc1 157 <file:Documentation/serial/README.cycladesZ>.
1da177e4
LT
158
159 To compile this driver as a module, choose M here: the
160 module will be called cyclades.
161
162 If you haven't heard about it, it's safe to say N.
163
164config CYZ_INTR
165 bool "Cyclades-Z interrupt mode operation (EXPERIMENTAL)"
166 depends on EXPERIMENTAL && CYCLADES
167 help
168 The Cyclades-Z family of multiport cards allows 2 (two) driver op
169 modes: polling and interrupt. In polling mode, the driver will check
170 the status of the Cyclades-Z ports every certain amount of time
171 (which is called polling cycle and is configurable). In interrupt
172 mode, it will use an interrupt line (IRQ) in order to check the
173 status of the Cyclades-Z ports. The default op mode is polling. If
174 unsure, say N.
175
176config DIGIEPCA
177 tristate "Digiboard Intelligent Async Support"
dcbf1280 178 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
1da177e4
LT
179 ---help---
180 This is a driver for Digi International's Xx, Xeve, and Xem series
181 of cards which provide multiple serial ports. You would need
182 something like this to connect more than two modems to your Linux
183 box, for instance in order to become a dial-in server. This driver
184 supports the original PC (ISA) boards as well as PCI, and EISA. If
185 you have a card like this, say Y here and read the file
31c00fc1 186 <file:Documentation/serial/digiepca.txt>.
1da177e4
LT
187
188 To compile this driver as a module, choose M here: the
189 module will be called epca.
190
191config ESPSERIAL
192 tristate "Hayes ESP serial port support"
0fdeceb8 193 depends on SERIAL_NONSTANDARD && ISA && ISA_DMA_API && BROKEN
1da177e4
LT
194 help
195 This is a driver which supports Hayes ESP serial ports. Both single
196 port cards and multiport cards are supported. Make sure to read
197 <file:Documentation/hayes-esp.txt>.
198
199 To compile this driver as a module, choose M here: the
200 module will be called esp.
201
202 If unsure, say N.
203
204config MOXA_INTELLIO
205 tristate "Moxa Intellio support"
8a023674 206 depends on SERIAL_NONSTANDARD && (ISA || EISA || PCI)
4920916f 207 select FW_LOADER
1da177e4
LT
208 help
209 Say Y here if you have a Moxa Intellio multiport serial card.
210
211 To compile this driver as a module, choose M here: the
212 module will be called moxa.
213
214config MOXA_SMARTIO
98c47ea2 215 tristate "Moxa SmartIO support v. 2.0"
fb0c9295 216 depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA)
037ad48b
JS
217 help
218 Say Y here if you have a Moxa SmartIO multiport serial card and/or
219 want to help develop a new version of this driver.
220
221 This is upgraded (1.9.1) driver from original Moxa drivers with
222 changes finally resulting in PCI probing.
223
037ad48b 224 This driver can also be built as a module. The module will be called
1c45607a 225 mxser. If you want to do that, say M here.
037ad48b 226
1da177e4
LT
227config ISI
228 tristate "Multi-Tech multiport card support (EXPERIMENTAL)"
6d889724 229 depends on SERIAL_NONSTANDARD && PCI
5ff2a7e2 230 select FW_LOADER
1da177e4
LT
231 help
232 This is a driver for the Multi-Tech cards which provide several
233 serial ports. The driver is experimental and can currently only be
234 built as a module. The module will be called isicom.
235 If you want to do that, choose M here.
236
237config SYNCLINK
238 tristate "Microgate SyncLink card support"
a5532606 239 depends on SERIAL_NONSTANDARD && PCI && ISA_DMA_API
1da177e4
LT
240 help
241 Provides support for the SyncLink ISA and PCI multiprotocol serial
242 adapters. These adapters support asynchronous and HDLC bit
243 synchronous communication up to 10Mbps (PCI adapter).
244
245 This driver can only be built as a module ( = code which can be
246 inserted in and removed from the running kernel whenever you want).
247 The module will be called synclink. If you want to do that, say M
248 here.
249
250config SYNCLINKMP
251 tristate "SyncLink Multiport support"
8a023674 252 depends on SERIAL_NONSTANDARD && PCI
1da177e4
LT
253 help
254 Enable support for the SyncLink Multiport (2 or 4 ports)
255 serial adapter, running asynchronous and HDLC communications up
256 to 2.048Mbps. Each ports is independently selectable for
257 RS-232, V.35, RS-449, RS-530, and X.21
258
259 This driver may be built as a module ( = code which can be
260 inserted in and removed from the running kernel whenever you want).
261 The module will be called synclinkmp. If you want to do that, say M
262 here.
263
705b6c7b
PF
264config SYNCLINK_GT
265 tristate "SyncLink GT/AC support"
8ef9cf31 266 depends on SERIAL_NONSTANDARD && PCI
705b6c7b
PF
267 help
268 Support for SyncLink GT and SyncLink AC families of
269 synchronous and asynchronous serial adapters
270 manufactured by Microgate Systems, Ltd. (www.microgate.com)
271
1da177e4
LT
272config N_HDLC
273 tristate "HDLC line discipline support"
274 depends on SERIAL_NONSTANDARD
275 help
276 Allows synchronous HDLC communications with tty device drivers that
277 support synchronous HDLC such as the Microgate SyncLink adapter.
278
279 This driver can only be built as a module ( = code which can be
280 inserted in and removed from the running kernel whenever you want).
281 The module will be called n_hdlc. If you want to do that, say M
282 here.
283
284config RISCOM8
285 tristate "SDL RISCom/8 card support"
781cff5c 286 depends on SERIAL_NONSTANDARD
1da177e4
LT
287 help
288 This is a driver for the SDL Communications RISCom/8 multiport card,
289 which gives you many serial ports. You would need something like
290 this to connect more than two modems to your Linux box, for instance
291 in order to become a dial-in server. If you have a card like that,
31c00fc1 292 say Y here and read the file <file:Documentation/serial/riscom8.txt>.
1da177e4
LT
293
294 Also it's possible to say M here and compile this driver as kernel
295 loadable module; the module will be called riscom8.
296
297config SPECIALIX
298 tristate "Specialix IO8+ card support"
faa7612c 299 depends on SERIAL_NONSTANDARD
1da177e4
LT
300 help
301 This is a driver for the Specialix IO8+ multiport card (both the
302 ISA and the PCI version) which gives you many serial ports. You
303 would need something like this to connect more than two modems to
304 your Linux box, for instance in order to become a dial-in server.
305
306 If you have a card like that, say Y here and read the file
31c00fc1
RD
307 <file:Documentation/serial/specialix.txt>. Also it's possible to say
308 M here and compile this driver as kernel loadable module which will be
1da177e4
LT
309 called specialix.
310
1da177e4
LT
311config SX
312 tristate "Specialix SX (and SI) card support"
3468a33e 313 depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA)
1da177e4
LT
314 help
315 This is a driver for the SX and SI multiport serial cards.
31c00fc1 316 Please read the file <file:Documentation/serial/sx.txt> for details.
1da177e4
LT
317
318 This driver can only be built as a module ( = code which can be
319 inserted in and removed from the running kernel whenever you want).
320 The module will be called sx. If you want to do that, say M here.
321
322config RIO
323 tristate "Specialix RIO system support"
655fdeab 324 depends on SERIAL_NONSTANDARD
1da177e4
LT
325 help
326 This is a driver for the Specialix RIO, a smart serial card which
327 drives an outboard box that can support up to 128 ports. Product
328 information is at <http://www.perle.com/support/documentation.html#multiport>.
329 There are both ISA and PCI versions.
330
331config RIO_OLDPCI
332 bool "Support really old RIO/PCI cards"
333 depends on RIO
334 help
335 Older RIO PCI cards need some initialization-time configuration to
336 determine the IRQ and some control addresses. If you have a RIO and
337 this doesn't seem to work, try setting this to Y.
338
339config STALDRV
340 bool "Stallion multiport serial support"
341 depends on SERIAL_NONSTANDARD
342 help
343 Stallion cards give you many serial ports. You would need something
344 like this to connect more than two modems to your Linux box, for
345 instance in order to become a dial-in server. If you say Y here,
346 you will be asked for your specific card model in the next
31c00fc1
RD
347 questions. Make sure to read <file:Documentation/serial/stallion.txt>
348 in this case. If you have never heard about all this, it's safe to
1da177e4
LT
349 say N.
350
351config STALLION
352 tristate "Stallion EasyIO or EC8/32 support"
d18a750f 353 depends on STALDRV && (ISA || EISA || PCI)
1da177e4
LT
354 help
355 If you have an EasyIO or EasyConnection 8/32 multiport Stallion
356 card, then this is for you; say Y. Make sure to read
31c00fc1 357 <file:Documentation/serial/stallion.txt>.
1da177e4
LT
358
359 To compile this driver as a module, choose M here: the
360 module will be called stallion.
361
362config ISTALLION
363 tristate "Stallion EC8/64, ONboard, Brumby support"
d18a750f 364 depends on STALDRV && (ISA || EISA || PCI)
1da177e4
LT
365 help
366 If you have an EasyConnection 8/64, ONboard, Brumby or Stallion
367 serial multiport card, say Y here. Make sure to read
31c00fc1 368 <file:Documentation/serial/stallion.txt>.
1da177e4
LT
369
370 To compile this driver as a module, choose M here: the
371 module will be called istallion.
372
20fd1e3b
FS
373config NOZOMI
374 tristate "HSDPA Broadband Wireless Data Card - Globe Trotter"
375 depends on PCI && EXPERIMENTAL
376 help
377 If you have a HSDPA driver Broadband Wireless Data Card -
378 Globe Trotter PCMCIA card, say Y here.
379
380 To compile this driver as a module, choose M here, the module
381 will be called nozomi.
382
1da177e4
LT
383config A2232
384 tristate "Commodore A2232 serial support (EXPERIMENTAL)"
385 depends on EXPERIMENTAL && ZORRO && BROKEN_ON_SMP
386 ---help---
387 This option supports the 2232 7-port serial card shipped with the
388 Amiga 2000 and other Zorro-bus machines, dating from 1989. At
389 a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip
390 each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The
391 ports were connected with 8 pin DIN connectors on the card bracket,
392 for which 8 pin to DB25 adapters were supplied. The card also had
393 jumpers internally to toggle various pinning configurations.
394
395 This driver can be built as a module; but then "generic_serial"
396 will also be built as a module. This has to be loaded before
397 "ser_a2232". If you want to do this, answer M here.
398
399config SGI_SNSC
400 bool "SGI Altix system controller communication support"
401 depends on (IA64_SGI_SN2 || IA64_GENERIC)
402 help
403 If you have an SGI Altix and you want to enable system
404 controller communication from user space (you want this!),
405 say Y. Otherwise, say N.
406
e1e19747
BL
407config SGI_TIOCX
408 bool "SGI TIO CX driver support"
409 depends on (IA64_SGI_SN2 || IA64_GENERIC)
410 help
411 If you have an SGI Altix and you have fpga devices attached
412 to your TIO, say Y here, otherwise say N.
413
414config SGI_MBCS
415 tristate "SGI FPGA Core Services driver support"
ae40aae9 416 depends on SGI_TIOCX
e1e19747
BL
417 help
418 If you have an SGI Altix with an attached SABrick
419 say Y or M here, otherwise say N.
420
1da177e4
LT
421source "drivers/serial/Kconfig"
422
423config UNIX98_PTYS
424 bool "Unix98 PTY support" if EMBEDDED
425 default y
426 ---help---
427 A pseudo terminal (PTY) is a software device consisting of two
428 halves: a master and a slave. The slave device behaves identical to
429 a physical terminal; the master device is used by a process to
430 read data from and write data to the slave, thereby emulating a
431 terminal. Typical programs for the master side are telnet servers
432 and xterms.
433
434 Linux has traditionally used the BSD-like names /dev/ptyxx for
435 masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
436 has a number of problems. The GNU C library glibc 2.1 and later,
437 however, supports the Unix98 naming standard: in order to acquire a
438 pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
439 terminal is then made available to the process and the pseudo
440 terminal slave can be accessed as /dev/pts/<number>. What was
441 traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
442
443 All modern Linux systems use the Unix98 ptys. Say Y unless
444 you're on an embedded system and want to conserve memory.
445
e4adca27
SB
446config DEVPTS_MULTIPLE_INSTANCES
447 bool "Support multiple instances of devpts"
448 depends on UNIX98_PTYS
449 default n
450 ---help---
451 Enable support for multiple instances of devpts filesystem.
452 If you want to have isolated PTY namespaces (eg: in containers),
453 say Y here. Otherwise, say N. If enabled, each mount of devpts
454 filesystem with the '-o newinstance' option will create an
455 independent PTY namespace.
456
1da177e4
LT
457config LEGACY_PTYS
458 bool "Legacy (BSD) PTY support"
459 default y
460 ---help---
461 A pseudo terminal (PTY) is a software device consisting of two
462 halves: a master and a slave. The slave device behaves identical to
463 a physical terminal; the master device is used by a process to
464 read data from and write data to the slave, thereby emulating a
465 terminal. Typical programs for the master side are telnet servers
466 and xterms.
467
468 Linux has traditionally used the BSD-like names /dev/ptyxx
469 for masters and /dev/ttyxx for slaves of pseudo
470 terminals. This scheme has a number of problems, including
471 security. This option enables these legacy devices; on most
472 systems, it is safe to say N.
473
474
475config LEGACY_PTY_COUNT
476 int "Maximum number of legacy PTY in use"
477 depends on LEGACY_PTYS
345ee839 478 range 0 256
1da177e4
LT
479 default "256"
480 ---help---
481 The maximum number of legacy PTYs that can be used at any one time.
482 The default is 256, and should be more than enough. Embedded
483 systems may want to reduce this to save memory.
484
485 When not in use, each legacy PTY occupies 12 bytes on 32-bit
486 architectures and 24 bytes on 64-bit architectures.
487
a45b8395
BH
488config BRIQ_PANEL
489 tristate 'Total Impact briQ front panel driver'
2818c5de 490 depends on PPC_CHRP
a45b8395
BH
491 ---help---
492 The briQ is a small footprint CHRP computer with a frontpanel VFD, a
493 tristate led and two switches. It is the size of a CDROM drive.
494
495 If you have such one and want anything showing on the VFD then you
496 must answer Y here.
497
498 To compile this driver as a module, choose M here: the
499 module will be called briq_panel.
500
501 It's safe to say N here.
502
2dc63a84
MF
503config BFIN_OTP
504 tristate "Blackfin On-Chip OTP Memory Support"
505 depends on BLACKFIN && (BF52x || BF54x)
506 default y
507 help
508 If you say Y here, you will get support for a character device
509 interface into the One Time Programmable memory pages that are
510 stored on the Blackfin processor. This will not get you access
511 to the secure memory pages however. You will need to write your
512 own secure code and reader for that.
513
514 To compile this driver as a module, choose M here: the module
515 will be called bfin-otp.
516
517 If unsure, it is safe to say Y.
518
519config BFIN_OTP_WRITE_ENABLE
520 bool "Enable writing support of OTP pages"
521 depends on BFIN_OTP
522 default n
523 help
524 If you say Y here, you will enable support for writing of the
525 OTP pages. This is dangerous by nature as you can only program
526 the pages once, so only enable this option when you actually
527 need it so as to not inadvertently clobber data.
528
529 If unsure, say N.
530
1da177e4
LT
531config PRINTER
532 tristate "Parallel printer support"
533 depends on PARPORT
534 ---help---
535 If you intend to attach a printer to the parallel port of your Linux
536 box (as opposed to using a serial printer; if the connector at the
537 printer has 9 or 25 holes ["female"], then it's serial), say Y.
538 Also read the Printing-HOWTO, available from
539 <http://www.tldp.org/docs.html#howto>.
540
541 It is possible to share one parallel port among several devices
542 (e.g. printer and ZIP drive) and it is safe to compile the
543 corresponding drivers into the kernel.
544
545 To compile this driver as a module, choose M here and read
546 <file:Documentation/parport.txt>. The module will be called lp.
547
548 If you have several parallel ports, you can specify which ports to
549 use with the "lp" kernel command line option. (Try "man bootparam"
550 or see the documentation of your boot loader (lilo or loadlin) about
551 how to pass options to the kernel at boot time.) The syntax of the
552 "lp" command line option can be found in <file:drivers/char/lp.c>.
553
554 If you have more than 8 printers, you need to increase the LP_NO
555 macro in lp.c and the PARPORT_MAX macro in parport.h.
556
557config LP_CONSOLE
558 bool "Support for console on line printer"
559 depends on PRINTER
560 ---help---
561 If you want kernel messages to be printed out as they occur, you
562 can have a console on the printer. This option adds support for
563 doing that; to actually get it to happen you need to pass the
564 option "console=lp0" to the kernel at boot time.
565
566 If the printer is out of paper (or off, or unplugged, or too
567 busy..) the kernel will stall until the printer is ready again.
568 By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
569 can make the kernel continue when this happens,
570 but it'll lose the kernel messages.
571
572 If unsure, say N.
573
574config PPDEV
575 tristate "Support for user-space parallel port device drivers"
576 depends on PARPORT
577 ---help---
578 Saying Y to this adds support for /dev/parport device nodes. This
579 is needed for programs that want portable access to the parallel
580 port, for instance deviceid (which displays Plug-and-Play device
581 IDs).
582
583 This is the parallel port equivalent of SCSI generic support (sg).
584 It is safe to say N to this -- it is not needed for normal printing
585 or parallel port CD-ROM/disk support.
586
587 To compile this driver as a module, choose M here: the
588 module will be called ppdev.
589
590 If unsure, say N.
591
45d607ed
RA
592config HVC_DRIVER
593 bool
594 help
3e6c6f63 595 Generic "hypervisor virtual console" infrastructure for various
2d1df815 596 hypervisors (pSeries, iSeries, Xen, lguest).
45d607ed
RA
597 It will automatically be selected if one of the back-end console drivers
598 is selected.
599
611e097d
CB
600config HVC_IRQ
601 bool
45d607ed 602
1da177e4
LT
603config HVC_CONSOLE
604 bool "pSeries Hypervisor Virtual Console support"
605 depends on PPC_PSERIES
45d607ed 606 select HVC_DRIVER
611e097d 607 select HVC_IRQ
1da177e4
LT
608 help
609 pSeries machines when partitioned support a hypervisor virtual
610 console. This driver allows each pSeries partition to have a console
611 which is accessed via the HMC.
612
8bff05b0
SR
613config HVC_ISERIES
614 bool "iSeries Hypervisor Virtual Console support"
b15f792f
SR
615 depends on PPC_ISERIES
616 default y
8bff05b0 617 select HVC_DRIVER
611e097d 618 select HVC_IRQ
8bff05b0
SR
619 help
620 iSeries machines support a hypervisor virtual console.
621
f4d1749e
AB
622config HVC_RTAS
623 bool "IBM RTAS Console support"
624 depends on PPC_RTAS
625 select HVC_DRIVER
626 help
627 IBM Console device driver which makes use of RTAS
628
3cdc20e5
IK
629config HVC_BEAT
630 bool "Toshiba's Beat Hypervisor Console support"
631 depends on PPC_CELLEB
632 select HVC_DRIVER
633 help
634 Toshiba's Cell Reference Set Beat Console device driver
635
44a01d5b
HB
636config HVC_IUCV
637 bool "z/VM IUCV Hypervisor console support (VM only)"
638 depends on S390
639 select HVC_DRIVER
640 select IUCV
641 default y
642 help
643 This driver provides a Hypervisor console (HVC) back-end to access
644 a Linux (console) terminal via a z/VM IUCV communication path.
645
b536b4b9
JF
646config HVC_XEN
647 bool "Xen Hypervisor Console support"
648 depends on XEN
649 select HVC_DRIVER
611e097d 650 select HVC_IRQ
b536b4b9
JF
651 default y
652 help
653 Xen virtual console device driver
654
d5e54913
DG
655config HVC_UDBG
656 bool "udbg based fake hypervisor console"
657 depends on PPC && EXPERIMENTAL
658 select HVC_DRIVER
659 default n
660
31610434 661config VIRTIO_CONSOLE
7721c494
CB
662 tristate "Virtio console"
663 depends on VIRTIO
31610434 664 select HVC_DRIVER
7721c494
CB
665 help
666 Virtio console for use with lguest and other hypervisors.
667
31610434 668
1da177e4
LT
669config HVCS
670 tristate "IBM Hypervisor Virtual Console Server support"
671 depends on PPC_PSERIES
672 help
673 Partitionable IBM Power5 ppc64 machines allow hosting of
674 firmware virtual consoles from one Linux partition by
675 another Linux partition. This driver allows console data
676 from Linux partitions to be accessed through TTY device
677 interfaces in the device tree of a Linux partition running
678 this driver.
679
680 To compile this driver as a module, choose M here: the
681 module will be called hvcs.ko. Additionally, this module
682 will depend on arch specific APIs exported from hvcserver.ko
683 which will also be compiled when this driver is built as a
684 module.
685
fe9e8d53
SR
686config IBM_BSR
687 tristate "IBM POWER Barrier Synchronization Register support"
688 depends on PPC_PSERIES
689 help
690 This devices exposes a hardware mechanism for fast synchronization
691 of threads across a large system which avoids bouncing a cacheline
692 between several cores on a system
693
1da177e4
LT
694source "drivers/char/ipmi/Kconfig"
695
1da177e4
LT
696config DS1620
697 tristate "NetWinder thermometer support"
698 depends on ARCH_NETWINDER
699 help
700 Say Y here to include support for the thermal management hardware
701 found in the NetWinder. This driver allows the user to control the
702 temperature set points and to read the current temperature.
703
704 It is also possible to say M here to build it as a module (ds1620)
705 It is recommended to be used on a NetWinder, but it is not a
706 necessity.
707
708config NWBUTTON
709 tristate "NetWinder Button"
710 depends on ARCH_NETWINDER
711 ---help---
712 If you say Y here and create a character device node /dev/nwbutton
713 with major and minor numbers 10 and 158 ("man mknod"), then every
714 time the orange button is pressed a number of times, the number of
715 times the button was pressed will be written to that device.
716
717 This is most useful for applications, as yet unwritten, which
718 perform actions based on how many times the button is pressed in a
719 row.
720
721 Do not hold the button down for too long, as the driver does not
722 alter the behaviour of the hardware reset circuitry attached to the
723 button; it will still execute a hard reset if the button is held
724 down for longer than approximately five seconds.
725
726 To compile this driver as a module, choose M here: the
727 module will be called nwbutton.
728
729 Most people will answer Y to this question and "Reboot Using Button"
730 below to be able to initiate a system shutdown from the button.
731
732config NWBUTTON_REBOOT
733 bool "Reboot Using Button"
734 depends on NWBUTTON
735 help
736 If you say Y here, then you will be able to initiate a system
737 shutdown and reboot by pressing the orange button a number of times.
738 The number of presses to initiate the shutdown is two by default,
739 but this can be altered by modifying the value of NUM_PRESSES_REBOOT
740 in nwbutton.h and recompiling the driver or, if you compile the
741 driver as a module, you can specify the number of presses at load
742 time with "insmod button reboot_count=<something>".
743
744config NWFLASH
745 tristate "NetWinder flash support"
746 depends on ARCH_NETWINDER
747 ---help---
748 If you say Y here and create a character device /dev/flash with
749 major 10 and minor 160 you can manipulate the flash ROM containing
750 the NetWinder firmware. Be careful as accidentally overwriting the
751 flash contents can render your computer unbootable. On no account
752 allow random users access to this device. :-)
753
754 To compile this driver as a module, choose M here: the
755 module will be called nwflash.
756
757 If you're not sure, say N.
758
844dd05f
MB
759source "drivers/char/hw_random/Kconfig"
760
1da177e4
LT
761config NVRAM
762 tristate "/dev/nvram support"
0d078f6f 763 depends on ATARI || X86 || ARM || GENERIC_NVRAM
1da177e4
LT
764 ---help---
765 If you say Y here and create a character special file /dev/nvram
766 with major number 10 and minor number 144 using mknod ("man mknod"),
767 you get read and write access to the extra bytes of non-volatile
768 memory in the real time clock (RTC), which is contained in every PC
769 and most Ataris. The actual number of bytes varies, depending on the
770 nvram in the system, but is usually 114 (128-14 for the RTC).
771
772 This memory is conventionally called "CMOS RAM" on PCs and "NVRAM"
773 on Ataris. /dev/nvram may be used to view settings there, or to
774 change them (with some utility). It could also be used to frequently
775 save a few bits of very important data that may not be lost over
776 power-off and for which writing to disk is too insecure. Note
777 however that most NVRAM space in a PC belongs to the BIOS and you
778 should NEVER idly tamper with it. See Ralf Brown's interrupt list
779 for a guide to the use of CMOS bytes by your BIOS.
780
781 On Atari machines, /dev/nvram is always configured and does not need
782 to be selected.
783
784 To compile this driver as a module, choose M here: the
785 module will be called nvram.
786
c7500900
DB
787#
788# These legacy RTC drivers just cause too many conflicts with the generic
789# RTC framework ... let's not even try to coexist any more.
790#
791if RTC_LIB=n
792
1da177e4 793config RTC
e6d2bb2b 794 tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
c7500900
DB
795 depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
796 && !ARM && !SUPERH && !S390 && !AVR32
1da177e4
LT
797 ---help---
798 If you say Y here and create a character special file /dev/rtc with
799 major number 10 and minor number 135 using mknod ("man mknod"), you
800 will get access to the real time clock (or hardware clock) built
801 into your computer.
802
803 Every PC has such a clock built in. It can be used to generate
804 signals from as low as 1Hz up to 8192Hz, and can also be used
805 as a 24 hour alarm. It reports status information via the file
806 /proc/driver/rtc and its behaviour is set by various ioctls on
807 /dev/rtc.
808
809 If you run Linux on a multiprocessor machine and said Y to
810 "Symmetric Multi Processing" above, you should say Y here to read
811 and set the RTC in an SMP compatible fashion.
812
813 If you think you have a use for such a device (such as periodic data
814 sampling), then say Y here, and read <file:Documentation/rtc.txt>
815 for details.
816
817 To compile this driver as a module, choose M here: the
818 module will be called rtc.
819
2240598c
AV
820config JS_RTC
821 tristate "Enhanced Real Time Clock Support"
822 depends on SPARC32 && PCI
823 ---help---
824 If you say Y here and create a character special file /dev/rtc with
825 major number 10 and minor number 135 using mknod ("man mknod"), you
826 will get access to the real time clock (or hardware clock) built
827 into your computer.
828
829 Every PC has such a clock built in. It can be used to generate
830 signals from as low as 1Hz up to 8192Hz, and can also be used
831 as a 24 hour alarm. It reports status information via the file
832 /proc/driver/rtc and its behaviour is set by various ioctls on
833 /dev/rtc.
834
835 If you think you have a use for such a device (such as periodic data
836 sampling), then say Y here, and read <file:Documentation/rtc.txt>
837 for details.
838
839 To compile this driver as a module, choose M here: the
840 module will be called js-rtc.
841
1da177e4
LT
842config GEN_RTC
843 tristate "Generic /dev/rtc emulation"
cc65d90f 844 depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32
1da177e4
LT
845 ---help---
846 If you say Y here and create a character special file /dev/rtc with
847 major number 10 and minor number 135 using mknod ("man mknod"), you
848 will get access to the real time clock (or hardware clock) built
849 into your computer.
850
851 It reports status information via the file /proc/driver/rtc and its
852 behaviour is set by various ioctls on /dev/rtc. If you enable the
853 "extended RTC operation" below it will also provide an emulation
854 for RTC_UIE which is required by some programs and may improve
855 precision in some cases.
856
857 To compile this driver as a module, choose M here: the
858 module will be called genrtc.
859
860config GEN_RTC_X
861 bool "Extended RTC operation"
862 depends on GEN_RTC
863 help
864 Provides an emulation for RTC_UIE which is required by some programs
865 and may improve precision of the generic RTC support in some cases.
866
867config EFI_RTC
868 bool "EFI Real Time Clock Services"
869 depends on IA64
870
871config DS1302
872 tristate "DS1302 RTC support"
873 depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT)
874 help
875 If you say Y here and create a character special file /dev/rtc with
876 major number 121 and minor number 0 using mknod ("man mknod"), you
877 will get access to the real time clock (or hardware clock) built
878 into your computer.
879
c7500900
DB
880endif # RTC_LIB
881
1da177e4
LT
882config DTLK
883 tristate "Double Talk PC internal speech card support"
eeca7a36 884 depends on ISA
1da177e4
LT
885 help
886 This driver is for the DoubleTalk PC, a speech synthesizer
887 manufactured by RC Systems (<http://www.rcsys.com/>). It is also
888 called the `internal DoubleTalk'.
889
890 To compile this driver as a module, choose M here: the
891 module will be called dtlk.
892
ef141a0b
SN
893config XILINX_HWICAP
894 tristate "Xilinx HWICAP Support"
895 depends on XILINX_VIRTEX
896 help
897 This option enables support for Xilinx Internal Configuration
898 Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
899 FPGA platforms to partially reconfigure the FPGA at runtime.
900
901 If unsure, say N.
902
1da177e4
LT
903config R3964
904 tristate "Siemens R3964 line discipline"
905 ---help---
906 This driver allows synchronous communication with devices using the
907 Siemens R3964 packet protocol. Unless you are dealing with special
908 hardware like PLCs, you are unlikely to need this.
909
910 To compile this driver as a module, choose M here: the
911 module will be called n_r3964.
912
913 If unsure, say N.
914
915config APPLICOM
916 tristate "Applicom intelligent fieldbus card support"
917 depends on PCI
918 ---help---
919 This driver provides the kernel-side support for the intelligent
920 fieldbus cards made by Applicom International. More information
921 about these cards can be found on the WWW at the address
922 <http://www.applicom-int.com/>, or by email from David Woodhouse
923 <dwmw2@infradead.org>.
924
925 To compile this driver as a module, choose M here: the
926 module will be called applicom.
927
928 If unsure, say N.
929
930config SONYPI
931 tristate "Sony Vaio Programmable I/O Control Device support (EXPERIMENTAL)"
932 depends on EXPERIMENTAL && X86 && PCI && INPUT && !64BIT
933 ---help---
934 This driver enables access to the Sony Programmable I/O Control
935 Device which can be found in many (all ?) Sony Vaio laptops.
936
937 If you have one of those laptops, read
018a651a 938 <file:Documentation/laptops/sonypi.txt>, and say Y or M here.
1da177e4
LT
939
940 To compile this driver as a module, choose M here: the
941 module will be called sonypi.
942
09762516
YY
943config GPIO_TB0219
944 tristate "TANBAC TB0219 GPIO support"
bef1f402 945 depends on TANBAC_TB022X
584e1236 946 select GPIO_VR41XX
1da177e4 947
1da177e4
LT
948source "drivers/char/pcmcia/Kconfig"
949
950config MWAVE
951 tristate "ACP Modem (Mwave) support"
952 depends on X86
953 select SERIAL_8250
954 ---help---
955 The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
956 kernel driver and a user level application. Together these components
957 support direct attachment to public switched telephone networks (PSTNs)
958 and support selected world wide countries.
959
960 This version of the ACP Modem driver supports the IBM Thinkpad 600E,
961 600, and 770 that include on board ACP modem hardware.
962
963 The modem also supports the standard communications port interface
964 (ttySx) and is compatible with the Hayes AT Command Set.
965
966 The user level application needed to use this driver can be found at
967 the IBM Linux Technology Center (LTC) web site:
968 <http://www.ibm.com/linux/ltc/>.
969
970 If you own one of the above IBM Thinkpads which has the Mwave chipset
971 in it, say Y.
972
973 To compile this driver as a module, choose M here: the
974 module will be called mwave.
975
976config SCx200_GPIO
977 tristate "NatSemi SCx200 GPIO Support"
978 depends on SCx200
7a8e2a5e 979 select NSC_GPIO
1da177e4
LT
980 help
981 Give userspace access to the GPIO pins on the National
982 Semiconductor SCx200 processors.
983
984 If compiled as a module, it will be called scx200_gpio.
985
7a8e2a5e
JC
986config PC8736x_GPIO
987 tristate "NatSemi PC8736x GPIO Support"
988 depends on X86
989 default SCx200_GPIO # mostly N
990 select NSC_GPIO # needed for support routines
991 help
992 Give userspace access to the GPIO pins on the National
993 Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
994 has multiple functional units, inc several managed by
995 hwmon/pc87360 driver. Tested with PC-87366
996
997 If compiled as a module, it will be called pc8736x_gpio.
998
999config NSC_GPIO
1000 tristate "NatSemi Base GPIO Support"
699352c3 1001 depends on X86_32
7a8e2a5e
JC
1002 # selected by SCx200_GPIO and PC8736x_GPIO
1003 # what about 2 selectors differing: m != y
1004 help
1005 Common support used (and needed) by scx200_gpio and
1006 pc8736x_gpio drivers. If those drivers are built as
1007 modules, this one will be too, named nsc_gpio
1008
e329113c
BG
1009config CS5535_GPIO
1010 tristate "AMD CS5535/CS5536 GPIO (Geode Companion Device)"
1011 depends on X86_32
1012 help
1013 Give userspace access to the GPIO pins on the AMD CS5535 and
1014 CS5536 Geode companion devices.
1015
1016 If compiled as a module, it will be called cs5535_gpio.
1017
e400bae9
YY
1018config GPIO_VR41XX
1019 tristate "NEC VR4100 series General-purpose I/O Unit support"
1020 depends on CPU_VR41XX
1021
1da177e4 1022config RAW_DRIVER
abd4aa5a 1023 tristate "RAW driver (/dev/raw/rawN)"
9361401e 1024 depends on BLOCK
1da177e4 1025 help
abd4aa5a
DJ
1026 The raw driver permits block devices to be bound to /dev/raw/rawN.
1027 Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
1da177e4
LT
1028 See the raw(8) manpage for more details.
1029
abd4aa5a 1030 Applications should preferably open the device (eg /dev/hda1)
1da177e4
LT
1031 with the O_DIRECT flag.
1032
0de502aa
AM
1033config MAX_RAW_DEVS
1034 int "Maximum number of RAW devices to support (1-8192)"
1035 depends on RAW_DRIVER
1036 default "256"
1037 help
1038 The maximum number of RAW devices that are supported.
1039 Default is 256. Increase this number in case you need lots of
1040 raw devices.
1041
1da177e4
LT
1042config HPET
1043 bool "HPET - High Precision Event Timer" if (X86 || IA64)
1044 default n
1045 depends on ACPI
1046 help
1047 If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
1048 open selects one of the timers supported by the HPET. The timers are
3cb2fccc 1049 non-periodic and/or periodic.
1da177e4 1050
1da177e4
LT
1051config HPET_MMAP
1052 bool "Allow mmap of HPET"
1053 default y
1054 depends on HPET
1055 help
1056 If you say Y here, user applications will be able to mmap
1057 the HPET registers.
1058
1059 In some hardware implementations, the page containing HPET
1060 registers may also contain other things that shouldn't be
1061 exposed to the user. If this applies to your hardware,
1062 say N here.
1063
1da177e4
LT
1064config HANGCHECK_TIMER
1065 tristate "Hangcheck timer"
abf3ea1b 1066 depends on X86 || IA64 || PPC64 || S390
1da177e4
LT
1067 help
1068 The hangcheck-timer module detects when the system has gone
1069 out to lunch past a certain margin. It can reboot the system
1070 or merely print a warning.
1071
1072config MMTIMER
1073 tristate "MMTIMER Memory mapped RTC for SGI Altix"
1074 depends on IA64_GENERIC || IA64_SGI_SN2
1075 default y
1076 help
1077 The mmtimer device allows direct userspace access to the
1078 Altix system timer.
1079
1080source "drivers/char/tpm/Kconfig"
1081
1a80ba88 1082config TELCLOCK
03154a27 1083 tristate "Telecom clock driver for ATCA SBC"
4d99bfac 1084 depends on EXPERIMENTAL && X86
1a80ba88
MG
1085 default n
1086 help
03154a27
MG
1087 The telecom clock device is specific to the MPCBL0010 and MPCBL0050
1088 ATCA computers and allows direct userspace access to the
1089 configuration of the telecom clock configuration settings. This
1090 device is used for hardware synchronization across the ATCA backplane
1091 fabric. Upon loading, the driver exports a sysfs directory,
1092 /sys/devices/platform/telco_clock, with a number of files for
1093 controlling the behavior of this hardware.
1a80ba88 1094
4f911d64
RK
1095config DEVPORT
1096 bool
1097 depends on !M68K
1098 depends on ISA || PCI
1099 default y
1100
61d48c2c
MS
1101source "drivers/s390/char/Kconfig"
1102
1da177e4
LT
1103endmenu
1104