Extract option parsing to new function
[linux-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"
33f0f88f 193 depends on SERIAL_NONSTANDARD && ISA && ISA_DMA_API
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
446config LEGACY_PTYS
447 bool "Legacy (BSD) PTY support"
448 default y
449 ---help---
450 A pseudo terminal (PTY) is a software device consisting of two
451 halves: a master and a slave. The slave device behaves identical to
452 a physical terminal; the master device is used by a process to
453 read data from and write data to the slave, thereby emulating a
454 terminal. Typical programs for the master side are telnet servers
455 and xterms.
456
457 Linux has traditionally used the BSD-like names /dev/ptyxx
458 for masters and /dev/ttyxx for slaves of pseudo
459 terminals. This scheme has a number of problems, including
460 security. This option enables these legacy devices; on most
461 systems, it is safe to say N.
462
463
464config LEGACY_PTY_COUNT
465 int "Maximum number of legacy PTY in use"
466 depends on LEGACY_PTYS
345ee839 467 range 0 256
1da177e4
LT
468 default "256"
469 ---help---
470 The maximum number of legacy PTYs that can be used at any one time.
471 The default is 256, and should be more than enough. Embedded
472 systems may want to reduce this to save memory.
473
474 When not in use, each legacy PTY occupies 12 bytes on 32-bit
475 architectures and 24 bytes on 64-bit architectures.
476
a45b8395
BH
477config BRIQ_PANEL
478 tristate 'Total Impact briQ front panel driver'
2818c5de 479 depends on PPC_CHRP
a45b8395
BH
480 ---help---
481 The briQ is a small footprint CHRP computer with a frontpanel VFD, a
482 tristate led and two switches. It is the size of a CDROM drive.
483
484 If you have such one and want anything showing on the VFD then you
485 must answer Y here.
486
487 To compile this driver as a module, choose M here: the
488 module will be called briq_panel.
489
490 It's safe to say N here.
491
2dc63a84
MF
492config BFIN_OTP
493 tristate "Blackfin On-Chip OTP Memory Support"
494 depends on BLACKFIN && (BF52x || BF54x)
495 default y
496 help
497 If you say Y here, you will get support for a character device
498 interface into the One Time Programmable memory pages that are
499 stored on the Blackfin processor. This will not get you access
500 to the secure memory pages however. You will need to write your
501 own secure code and reader for that.
502
503 To compile this driver as a module, choose M here: the module
504 will be called bfin-otp.
505
506 If unsure, it is safe to say Y.
507
508config BFIN_OTP_WRITE_ENABLE
509 bool "Enable writing support of OTP pages"
510 depends on BFIN_OTP
511 default n
512 help
513 If you say Y here, you will enable support for writing of the
514 OTP pages. This is dangerous by nature as you can only program
515 the pages once, so only enable this option when you actually
516 need it so as to not inadvertently clobber data.
517
518 If unsure, say N.
519
1da177e4
LT
520config PRINTER
521 tristate "Parallel printer support"
522 depends on PARPORT
523 ---help---
524 If you intend to attach a printer to the parallel port of your Linux
525 box (as opposed to using a serial printer; if the connector at the
526 printer has 9 or 25 holes ["female"], then it's serial), say Y.
527 Also read the Printing-HOWTO, available from
528 <http://www.tldp.org/docs.html#howto>.
529
530 It is possible to share one parallel port among several devices
531 (e.g. printer and ZIP drive) and it is safe to compile the
532 corresponding drivers into the kernel.
533
534 To compile this driver as a module, choose M here and read
535 <file:Documentation/parport.txt>. The module will be called lp.
536
537 If you have several parallel ports, you can specify which ports to
538 use with the "lp" kernel command line option. (Try "man bootparam"
539 or see the documentation of your boot loader (lilo or loadlin) about
540 how to pass options to the kernel at boot time.) The syntax of the
541 "lp" command line option can be found in <file:drivers/char/lp.c>.
542
543 If you have more than 8 printers, you need to increase the LP_NO
544 macro in lp.c and the PARPORT_MAX macro in parport.h.
545
546config LP_CONSOLE
547 bool "Support for console on line printer"
548 depends on PRINTER
549 ---help---
550 If you want kernel messages to be printed out as they occur, you
551 can have a console on the printer. This option adds support for
552 doing that; to actually get it to happen you need to pass the
553 option "console=lp0" to the kernel at boot time.
554
555 If the printer is out of paper (or off, or unplugged, or too
556 busy..) the kernel will stall until the printer is ready again.
557 By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
558 can make the kernel continue when this happens,
559 but it'll lose the kernel messages.
560
561 If unsure, say N.
562
563config PPDEV
564 tristate "Support for user-space parallel port device drivers"
565 depends on PARPORT
566 ---help---
567 Saying Y to this adds support for /dev/parport device nodes. This
568 is needed for programs that want portable access to the parallel
569 port, for instance deviceid (which displays Plug-and-Play device
570 IDs).
571
572 This is the parallel port equivalent of SCSI generic support (sg).
573 It is safe to say N to this -- it is not needed for normal printing
574 or parallel port CD-ROM/disk support.
575
576 To compile this driver as a module, choose M here: the
577 module will be called ppdev.
578
579 If unsure, say N.
580
45d607ed
RA
581config HVC_DRIVER
582 bool
583 help
3e6c6f63 584 Generic "hypervisor virtual console" infrastructure for various
2d1df815 585 hypervisors (pSeries, iSeries, Xen, lguest).
45d607ed
RA
586 It will automatically be selected if one of the back-end console drivers
587 is selected.
588
611e097d
CB
589config HVC_IRQ
590 bool
45d607ed 591
1da177e4
LT
592config HVC_CONSOLE
593 bool "pSeries Hypervisor Virtual Console support"
594 depends on PPC_PSERIES
45d607ed 595 select HVC_DRIVER
611e097d 596 select HVC_IRQ
1da177e4
LT
597 help
598 pSeries machines when partitioned support a hypervisor virtual
599 console. This driver allows each pSeries partition to have a console
600 which is accessed via the HMC.
601
8bff05b0
SR
602config HVC_ISERIES
603 bool "iSeries Hypervisor Virtual Console support"
b15f792f
SR
604 depends on PPC_ISERIES
605 default y
8bff05b0 606 select HVC_DRIVER
611e097d 607 select HVC_IRQ
8bff05b0
SR
608 help
609 iSeries machines support a hypervisor virtual console.
610
f4d1749e
AB
611config HVC_RTAS
612 bool "IBM RTAS Console support"
613 depends on PPC_RTAS
614 select HVC_DRIVER
615 help
616 IBM Console device driver which makes use of RTAS
617
3cdc20e5
IK
618config HVC_BEAT
619 bool "Toshiba's Beat Hypervisor Console support"
620 depends on PPC_CELLEB
621 select HVC_DRIVER
622 help
623 Toshiba's Cell Reference Set Beat Console device driver
624
44a01d5b
HB
625config HVC_IUCV
626 bool "z/VM IUCV Hypervisor console support (VM only)"
627 depends on S390
628 select HVC_DRIVER
629 select IUCV
630 default y
631 help
632 This driver provides a Hypervisor console (HVC) back-end to access
633 a Linux (console) terminal via a z/VM IUCV communication path.
634
b536b4b9
JF
635config HVC_XEN
636 bool "Xen Hypervisor Console support"
637 depends on XEN
638 select HVC_DRIVER
611e097d 639 select HVC_IRQ
b536b4b9
JF
640 default y
641 help
642 Xen virtual console device driver
643
d5e54913
DG
644config HVC_UDBG
645 bool "udbg based fake hypervisor console"
646 depends on PPC && EXPERIMENTAL
647 select HVC_DRIVER
648 default n
649
31610434 650config VIRTIO_CONSOLE
7721c494
CB
651 tristate "Virtio console"
652 depends on VIRTIO
31610434 653 select HVC_DRIVER
7721c494
CB
654 help
655 Virtio console for use with lguest and other hypervisors.
656
31610434 657
1da177e4
LT
658config HVCS
659 tristate "IBM Hypervisor Virtual Console Server support"
660 depends on PPC_PSERIES
661 help
662 Partitionable IBM Power5 ppc64 machines allow hosting of
663 firmware virtual consoles from one Linux partition by
664 another Linux partition. This driver allows console data
665 from Linux partitions to be accessed through TTY device
666 interfaces in the device tree of a Linux partition running
667 this driver.
668
669 To compile this driver as a module, choose M here: the
670 module will be called hvcs.ko. Additionally, this module
671 will depend on arch specific APIs exported from hvcserver.ko
672 which will also be compiled when this driver is built as a
673 module.
674
fe9e8d53
SR
675config IBM_BSR
676 tristate "IBM POWER Barrier Synchronization Register support"
677 depends on PPC_PSERIES
678 help
679 This devices exposes a hardware mechanism for fast synchronization
680 of threads across a large system which avoids bouncing a cacheline
681 between several cores on a system
682
1da177e4
LT
683source "drivers/char/ipmi/Kconfig"
684
1da177e4
LT
685config DS1620
686 tristate "NetWinder thermometer support"
687 depends on ARCH_NETWINDER
688 help
689 Say Y here to include support for the thermal management hardware
690 found in the NetWinder. This driver allows the user to control the
691 temperature set points and to read the current temperature.
692
693 It is also possible to say M here to build it as a module (ds1620)
694 It is recommended to be used on a NetWinder, but it is not a
695 necessity.
696
697config NWBUTTON
698 tristate "NetWinder Button"
699 depends on ARCH_NETWINDER
700 ---help---
701 If you say Y here and create a character device node /dev/nwbutton
702 with major and minor numbers 10 and 158 ("man mknod"), then every
703 time the orange button is pressed a number of times, the number of
704 times the button was pressed will be written to that device.
705
706 This is most useful for applications, as yet unwritten, which
707 perform actions based on how many times the button is pressed in a
708 row.
709
710 Do not hold the button down for too long, as the driver does not
711 alter the behaviour of the hardware reset circuitry attached to the
712 button; it will still execute a hard reset if the button is held
713 down for longer than approximately five seconds.
714
715 To compile this driver as a module, choose M here: the
716 module will be called nwbutton.
717
718 Most people will answer Y to this question and "Reboot Using Button"
719 below to be able to initiate a system shutdown from the button.
720
721config NWBUTTON_REBOOT
722 bool "Reboot Using Button"
723 depends on NWBUTTON
724 help
725 If you say Y here, then you will be able to initiate a system
726 shutdown and reboot by pressing the orange button a number of times.
727 The number of presses to initiate the shutdown is two by default,
728 but this can be altered by modifying the value of NUM_PRESSES_REBOOT
729 in nwbutton.h and recompiling the driver or, if you compile the
730 driver as a module, you can specify the number of presses at load
731 time with "insmod button reboot_count=<something>".
732
733config NWFLASH
734 tristate "NetWinder flash support"
735 depends on ARCH_NETWINDER
736 ---help---
737 If you say Y here and create a character device /dev/flash with
738 major 10 and minor 160 you can manipulate the flash ROM containing
739 the NetWinder firmware. Be careful as accidentally overwriting the
740 flash contents can render your computer unbootable. On no account
741 allow random users access to this device. :-)
742
743 To compile this driver as a module, choose M here: the
744 module will be called nwflash.
745
746 If you're not sure, say N.
747
844dd05f
MB
748source "drivers/char/hw_random/Kconfig"
749
1da177e4
LT
750config NVRAM
751 tristate "/dev/nvram support"
0d078f6f 752 depends on ATARI || X86 || ARM || GENERIC_NVRAM
1da177e4
LT
753 ---help---
754 If you say Y here and create a character special file /dev/nvram
755 with major number 10 and minor number 144 using mknod ("man mknod"),
756 you get read and write access to the extra bytes of non-volatile
757 memory in the real time clock (RTC), which is contained in every PC
758 and most Ataris. The actual number of bytes varies, depending on the
759 nvram in the system, but is usually 114 (128-14 for the RTC).
760
761 This memory is conventionally called "CMOS RAM" on PCs and "NVRAM"
762 on Ataris. /dev/nvram may be used to view settings there, or to
763 change them (with some utility). It could also be used to frequently
764 save a few bits of very important data that may not be lost over
765 power-off and for which writing to disk is too insecure. Note
766 however that most NVRAM space in a PC belongs to the BIOS and you
767 should NEVER idly tamper with it. See Ralf Brown's interrupt list
768 for a guide to the use of CMOS bytes by your BIOS.
769
770 On Atari machines, /dev/nvram is always configured and does not need
771 to be selected.
772
773 To compile this driver as a module, choose M here: the
774 module will be called nvram.
775
c7500900
DB
776#
777# These legacy RTC drivers just cause too many conflicts with the generic
778# RTC framework ... let's not even try to coexist any more.
779#
780if RTC_LIB=n
781
1da177e4 782config RTC
e6d2bb2b 783 tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
c7500900
DB
784 depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
785 && !ARM && !SUPERH && !S390 && !AVR32
1da177e4
LT
786 ---help---
787 If you say Y here and create a character special file /dev/rtc with
788 major number 10 and minor number 135 using mknod ("man mknod"), you
789 will get access to the real time clock (or hardware clock) built
790 into your computer.
791
792 Every PC has such a clock built in. It can be used to generate
793 signals from as low as 1Hz up to 8192Hz, and can also be used
794 as a 24 hour alarm. It reports status information via the file
795 /proc/driver/rtc and its behaviour is set by various ioctls on
796 /dev/rtc.
797
798 If you run Linux on a multiprocessor machine and said Y to
799 "Symmetric Multi Processing" above, you should say Y here to read
800 and set the RTC in an SMP compatible fashion.
801
802 If you think you have a use for such a device (such as periodic data
803 sampling), then say Y here, and read <file:Documentation/rtc.txt>
804 for details.
805
806 To compile this driver as a module, choose M here: the
807 module will be called rtc.
808
2240598c
AV
809config JS_RTC
810 tristate "Enhanced Real Time Clock Support"
811 depends on SPARC32 && PCI
812 ---help---
813 If you say Y here and create a character special file /dev/rtc with
814 major number 10 and minor number 135 using mknod ("man mknod"), you
815 will get access to the real time clock (or hardware clock) built
816 into your computer.
817
818 Every PC has such a clock built in. It can be used to generate
819 signals from as low as 1Hz up to 8192Hz, and can also be used
820 as a 24 hour alarm. It reports status information via the file
821 /proc/driver/rtc and its behaviour is set by various ioctls on
822 /dev/rtc.
823
824 If you think you have a use for such a device (such as periodic data
825 sampling), then say Y here, and read <file:Documentation/rtc.txt>
826 for details.
827
828 To compile this driver as a module, choose M here: the
829 module will be called js-rtc.
830
1da177e4
LT
831config GEN_RTC
832 tristate "Generic /dev/rtc emulation"
cc65d90f 833 depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32
1da177e4
LT
834 ---help---
835 If you say Y here and create a character special file /dev/rtc with
836 major number 10 and minor number 135 using mknod ("man mknod"), you
837 will get access to the real time clock (or hardware clock) built
838 into your computer.
839
840 It reports status information via the file /proc/driver/rtc and its
841 behaviour is set by various ioctls on /dev/rtc. If you enable the
842 "extended RTC operation" below it will also provide an emulation
843 for RTC_UIE which is required by some programs and may improve
844 precision in some cases.
845
846 To compile this driver as a module, choose M here: the
847 module will be called genrtc.
848
849config GEN_RTC_X
850 bool "Extended RTC operation"
851 depends on GEN_RTC
852 help
853 Provides an emulation for RTC_UIE which is required by some programs
854 and may improve precision of the generic RTC support in some cases.
855
856config EFI_RTC
857 bool "EFI Real Time Clock Services"
858 depends on IA64
859
860config DS1302
861 tristate "DS1302 RTC support"
862 depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT)
863 help
864 If you say Y here and create a character special file /dev/rtc with
865 major number 121 and minor number 0 using mknod ("man mknod"), you
866 will get access to the real time clock (or hardware clock) built
867 into your computer.
868
c7500900
DB
869endif # RTC_LIB
870
1da177e4
LT
871config DTLK
872 tristate "Double Talk PC internal speech card support"
eeca7a36 873 depends on ISA
1da177e4
LT
874 help
875 This driver is for the DoubleTalk PC, a speech synthesizer
876 manufactured by RC Systems (<http://www.rcsys.com/>). It is also
877 called the `internal DoubleTalk'.
878
879 To compile this driver as a module, choose M here: the
880 module will be called dtlk.
881
ef141a0b
SN
882config XILINX_HWICAP
883 tristate "Xilinx HWICAP Support"
884 depends on XILINX_VIRTEX
885 help
886 This option enables support for Xilinx Internal Configuration
887 Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
888 FPGA platforms to partially reconfigure the FPGA at runtime.
889
890 If unsure, say N.
891
1da177e4
LT
892config R3964
893 tristate "Siemens R3964 line discipline"
894 ---help---
895 This driver allows synchronous communication with devices using the
896 Siemens R3964 packet protocol. Unless you are dealing with special
897 hardware like PLCs, you are unlikely to need this.
898
899 To compile this driver as a module, choose M here: the
900 module will be called n_r3964.
901
902 If unsure, say N.
903
904config APPLICOM
905 tristate "Applicom intelligent fieldbus card support"
906 depends on PCI
907 ---help---
908 This driver provides the kernel-side support for the intelligent
909 fieldbus cards made by Applicom International. More information
910 about these cards can be found on the WWW at the address
911 <http://www.applicom-int.com/>, or by email from David Woodhouse
912 <dwmw2@infradead.org>.
913
914 To compile this driver as a module, choose M here: the
915 module will be called applicom.
916
917 If unsure, say N.
918
919config SONYPI
920 tristate "Sony Vaio Programmable I/O Control Device support (EXPERIMENTAL)"
921 depends on EXPERIMENTAL && X86 && PCI && INPUT && !64BIT
922 ---help---
923 This driver enables access to the Sony Programmable I/O Control
924 Device which can be found in many (all ?) Sony Vaio laptops.
925
926 If you have one of those laptops, read
018a651a 927 <file:Documentation/laptops/sonypi.txt>, and say Y or M here.
1da177e4
LT
928
929 To compile this driver as a module, choose M here: the
930 module will be called sonypi.
931
09762516
YY
932config GPIO_TB0219
933 tristate "TANBAC TB0219 GPIO support"
bef1f402 934 depends on TANBAC_TB022X
584e1236 935 select GPIO_VR41XX
1da177e4 936
1da177e4
LT
937source "drivers/char/pcmcia/Kconfig"
938
939config MWAVE
940 tristate "ACP Modem (Mwave) support"
941 depends on X86
942 select SERIAL_8250
943 ---help---
944 The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
945 kernel driver and a user level application. Together these components
946 support direct attachment to public switched telephone networks (PSTNs)
947 and support selected world wide countries.
948
949 This version of the ACP Modem driver supports the IBM Thinkpad 600E,
950 600, and 770 that include on board ACP modem hardware.
951
952 The modem also supports the standard communications port interface
953 (ttySx) and is compatible with the Hayes AT Command Set.
954
955 The user level application needed to use this driver can be found at
956 the IBM Linux Technology Center (LTC) web site:
957 <http://www.ibm.com/linux/ltc/>.
958
959 If you own one of the above IBM Thinkpads which has the Mwave chipset
960 in it, say Y.
961
962 To compile this driver as a module, choose M here: the
963 module will be called mwave.
964
965config SCx200_GPIO
966 tristate "NatSemi SCx200 GPIO Support"
967 depends on SCx200
7a8e2a5e 968 select NSC_GPIO
1da177e4
LT
969 help
970 Give userspace access to the GPIO pins on the National
971 Semiconductor SCx200 processors.
972
973 If compiled as a module, it will be called scx200_gpio.
974
7a8e2a5e
JC
975config PC8736x_GPIO
976 tristate "NatSemi PC8736x GPIO Support"
977 depends on X86
978 default SCx200_GPIO # mostly N
979 select NSC_GPIO # needed for support routines
980 help
981 Give userspace access to the GPIO pins on the National
982 Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
983 has multiple functional units, inc several managed by
984 hwmon/pc87360 driver. Tested with PC-87366
985
986 If compiled as a module, it will be called pc8736x_gpio.
987
988config NSC_GPIO
989 tristate "NatSemi Base GPIO Support"
699352c3 990 depends on X86_32
7a8e2a5e
JC
991 # selected by SCx200_GPIO and PC8736x_GPIO
992 # what about 2 selectors differing: m != y
993 help
994 Common support used (and needed) by scx200_gpio and
995 pc8736x_gpio drivers. If those drivers are built as
996 modules, this one will be too, named nsc_gpio
997
e329113c
BG
998config CS5535_GPIO
999 tristate "AMD CS5535/CS5536 GPIO (Geode Companion Device)"
1000 depends on X86_32
1001 help
1002 Give userspace access to the GPIO pins on the AMD CS5535 and
1003 CS5536 Geode companion devices.
1004
1005 If compiled as a module, it will be called cs5535_gpio.
1006
e400bae9
YY
1007config GPIO_VR41XX
1008 tristate "NEC VR4100 series General-purpose I/O Unit support"
1009 depends on CPU_VR41XX
1010
1da177e4 1011config RAW_DRIVER
abd4aa5a 1012 tristate "RAW driver (/dev/raw/rawN)"
9361401e 1013 depends on BLOCK
1da177e4 1014 help
abd4aa5a
DJ
1015 The raw driver permits block devices to be bound to /dev/raw/rawN.
1016 Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
1da177e4
LT
1017 See the raw(8) manpage for more details.
1018
abd4aa5a 1019 Applications should preferably open the device (eg /dev/hda1)
1da177e4
LT
1020 with the O_DIRECT flag.
1021
0de502aa
AM
1022config MAX_RAW_DEVS
1023 int "Maximum number of RAW devices to support (1-8192)"
1024 depends on RAW_DRIVER
1025 default "256"
1026 help
1027 The maximum number of RAW devices that are supported.
1028 Default is 256. Increase this number in case you need lots of
1029 raw devices.
1030
1da177e4
LT
1031config HPET
1032 bool "HPET - High Precision Event Timer" if (X86 || IA64)
1033 default n
1034 depends on ACPI
1035 help
1036 If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
1037 open selects one of the timers supported by the HPET. The timers are
3cb2fccc 1038 non-periodic and/or periodic.
1da177e4 1039
1da177e4
LT
1040config HPET_MMAP
1041 bool "Allow mmap of HPET"
1042 default y
1043 depends on HPET
1044 help
1045 If you say Y here, user applications will be able to mmap
1046 the HPET registers.
1047
1048 In some hardware implementations, the page containing HPET
1049 registers may also contain other things that shouldn't be
1050 exposed to the user. If this applies to your hardware,
1051 say N here.
1052
1da177e4
LT
1053config HANGCHECK_TIMER
1054 tristate "Hangcheck timer"
abf3ea1b 1055 depends on X86 || IA64 || PPC64 || S390
1da177e4
LT
1056 help
1057 The hangcheck-timer module detects when the system has gone
1058 out to lunch past a certain margin. It can reboot the system
1059 or merely print a warning.
1060
1061config MMTIMER
1062 tristate "MMTIMER Memory mapped RTC for SGI Altix"
1063 depends on IA64_GENERIC || IA64_SGI_SN2
1064 default y
1065 help
1066 The mmtimer device allows direct userspace access to the
1067 Altix system timer.
1068
1069source "drivers/char/tpm/Kconfig"
1070
1a80ba88 1071config TELCLOCK
03154a27 1072 tristate "Telecom clock driver for ATCA SBC"
4d99bfac 1073 depends on EXPERIMENTAL && X86
1a80ba88
MG
1074 default n
1075 help
03154a27
MG
1076 The telecom clock device is specific to the MPCBL0010 and MPCBL0050
1077 ATCA computers and allows direct userspace access to the
1078 configuration of the telecom clock configuration settings. This
1079 device is used for hardware synchronization across the ATCA backplane
1080 fabric. Upon loading, the driver exports a sysfs directory,
1081 /sys/devices/platform/telco_clock, with a number of files for
1082 controlling the behavior of this hardware.
1a80ba88 1083
4f911d64
RK
1084config DEVPORT
1085 bool
1086 depends on !M68K
1087 depends on ISA || PCI
1088 default y
1089
61d48c2c
MS
1090source "drivers/s390/char/Kconfig"
1091
1da177e4
LT
1092endmenu
1093