diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/Kconfig | 254 |
1 files changed, 2 insertions, 252 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 17f9b968b988..9b9ab867f50e 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -4,89 +4,7 @@ | |||
4 | 4 | ||
5 | menu "Character devices" | 5 | menu "Character devices" |
6 | 6 | ||
7 | config VT | 7 | source "drivers/tty/Kconfig" |
8 | bool "Virtual terminal" if EXPERT | ||
9 | depends on !S390 | ||
10 | select INPUT | ||
11 | default y | ||
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 | |||
39 | config CONSOLE_TRANSLATIONS | ||
40 | depends on VT | ||
41 | default y | ||
42 | bool "Enable character translations in console" if EXPERT | ||
43 | ---help--- | ||
44 | This enables support for font mapping and Unicode translation | ||
45 | on virtual consoles. | ||
46 | |||
47 | config VT_CONSOLE | ||
48 | bool "Support for console on virtual terminal" if EXPERT | ||
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 | |||
69 | config HW_CONSOLE | ||
70 | bool | ||
71 | depends on VT && !S390 && !UML | ||
72 | default y | ||
73 | |||
74 | config 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 | 8 | ||
91 | config DEVKMEM | 9 | config DEVKMEM |
92 | bool "/dev/kmem virtual device support" | 10 | bool "/dev/kmem virtual device support" |
@@ -428,71 +346,6 @@ config SGI_MBCS | |||
428 | 346 | ||
429 | source "drivers/tty/serial/Kconfig" | 347 | source "drivers/tty/serial/Kconfig" |
430 | 348 | ||
431 | config UNIX98_PTYS | ||
432 | bool "Unix98 PTY support" if EXPERT | ||
433 | default y | ||
434 | ---help--- | ||
435 | A pseudo terminal (PTY) is a software device consisting of two | ||
436 | halves: a master and a slave. The slave device behaves identical to | ||
437 | a physical terminal; the master device is used by a process to | ||
438 | read data from and write data to the slave, thereby emulating a | ||
439 | terminal. Typical programs for the master side are telnet servers | ||
440 | and xterms. | ||
441 | |||
442 | Linux has traditionally used the BSD-like names /dev/ptyxx for | ||
443 | masters and /dev/ttyxx for slaves of pseudo terminals. This scheme | ||
444 | has a number of problems. The GNU C library glibc 2.1 and later, | ||
445 | however, supports the Unix98 naming standard: in order to acquire a | ||
446 | pseudo terminal, a process opens /dev/ptmx; the number of the pseudo | ||
447 | terminal is then made available to the process and the pseudo | ||
448 | terminal slave can be accessed as /dev/pts/<number>. What was | ||
449 | traditionally /dev/ttyp2 will then be /dev/pts/2, for example. | ||
450 | |||
451 | All modern Linux systems use the Unix98 ptys. Say Y unless | ||
452 | you're on an embedded system and want to conserve memory. | ||
453 | |||
454 | config DEVPTS_MULTIPLE_INSTANCES | ||
455 | bool "Support multiple instances of devpts" | ||
456 | depends on UNIX98_PTYS | ||
457 | default n | ||
458 | ---help--- | ||
459 | Enable support for multiple instances of devpts filesystem. | ||
460 | If you want to have isolated PTY namespaces (eg: in containers), | ||
461 | say Y here. Otherwise, say N. If enabled, each mount of devpts | ||
462 | filesystem with the '-o newinstance' option will create an | ||
463 | independent PTY namespace. | ||
464 | |||
465 | config LEGACY_PTYS | ||
466 | bool "Legacy (BSD) PTY support" | ||
467 | default y | ||
468 | ---help--- | ||
469 | A pseudo terminal (PTY) is a software device consisting of two | ||
470 | halves: a master and a slave. The slave device behaves identical to | ||
471 | a physical terminal; the master device is used by a process to | ||
472 | read data from and write data to the slave, thereby emulating a | ||
473 | terminal. Typical programs for the master side are telnet servers | ||
474 | and xterms. | ||
475 | |||
476 | Linux has traditionally used the BSD-like names /dev/ptyxx | ||
477 | for masters and /dev/ttyxx for slaves of pseudo | ||
478 | terminals. This scheme has a number of problems, including | ||
479 | security. This option enables these legacy devices; on most | ||
480 | systems, it is safe to say N. | ||
481 | |||
482 | |||
483 | config LEGACY_PTY_COUNT | ||
484 | int "Maximum number of legacy PTY in use" | ||
485 | depends on LEGACY_PTYS | ||
486 | range 0 256 | ||
487 | default "256" | ||
488 | ---help--- | ||
489 | The maximum number of legacy PTYs that can be used at any one time. | ||
490 | The default is 256, and should be more than enough. Embedded | ||
491 | systems may want to reduce this to save memory. | ||
492 | |||
493 | When not in use, each legacy PTY occupies 12 bytes on 32-bit | ||
494 | architectures and 24 bytes on 64-bit architectures. | ||
495 | |||
496 | config TTY_PRINTK | 349 | config TTY_PRINTK |
497 | bool "TTY driver to output user messages via printk" | 350 | bool "TTY driver to output user messages via printk" |
498 | depends on EXPERT | 351 | depends on EXPERT |
@@ -612,93 +465,7 @@ config PPDEV | |||
612 | 465 | ||
613 | If unsure, say N. | 466 | If unsure, say N. |
614 | 467 | ||
615 | config HVC_DRIVER | 468 | source "drivers/tty/hvc/Kconfig" |
616 | bool | ||
617 | help | ||
618 | Generic "hypervisor virtual console" infrastructure for various | ||
619 | hypervisors (pSeries, iSeries, Xen, lguest). | ||
620 | It will automatically be selected if one of the back-end console drivers | ||
621 | is selected. | ||
622 | |||
623 | config HVC_IRQ | ||
624 | bool | ||
625 | |||
626 | config HVC_CONSOLE | ||
627 | bool "pSeries Hypervisor Virtual Console support" | ||
628 | depends on PPC_PSERIES | ||
629 | select HVC_DRIVER | ||
630 | select HVC_IRQ | ||
631 | help | ||
632 | pSeries machines when partitioned support a hypervisor virtual | ||
633 | console. This driver allows each pSeries partition to have a console | ||
634 | which is accessed via the HMC. | ||
635 | |||
636 | config HVC_ISERIES | ||
637 | bool "iSeries Hypervisor Virtual Console support" | ||
638 | depends on PPC_ISERIES | ||
639 | default y | ||
640 | select HVC_DRIVER | ||
641 | select HVC_IRQ | ||
642 | select VIOPATH | ||
643 | help | ||
644 | iSeries machines support a hypervisor virtual console. | ||
645 | |||
646 | config HVC_RTAS | ||
647 | bool "IBM RTAS Console support" | ||
648 | depends on PPC_RTAS | ||
649 | select HVC_DRIVER | ||
650 | help | ||
651 | IBM Console device driver which makes use of RTAS | ||
652 | |||
653 | config HVC_BEAT | ||
654 | bool "Toshiba's Beat Hypervisor Console support" | ||
655 | depends on PPC_CELLEB | ||
656 | select HVC_DRIVER | ||
657 | help | ||
658 | Toshiba's Cell Reference Set Beat Console device driver | ||
659 | |||
660 | config HVC_IUCV | ||
661 | bool "z/VM IUCV Hypervisor console support (VM only)" | ||
662 | depends on S390 | ||
663 | select HVC_DRIVER | ||
664 | select IUCV | ||
665 | default y | ||
666 | help | ||
667 | This driver provides a Hypervisor console (HVC) back-end to access | ||
668 | a Linux (console) terminal via a z/VM IUCV communication path. | ||
669 | |||
670 | config HVC_XEN | ||
671 | bool "Xen Hypervisor Console support" | ||
672 | depends on XEN | ||
673 | select HVC_DRIVER | ||
674 | select HVC_IRQ | ||
675 | default y | ||
676 | help | ||
677 | Xen virtual console device driver | ||
678 | |||
679 | config HVC_UDBG | ||
680 | bool "udbg based fake hypervisor console" | ||
681 | depends on PPC && EXPERIMENTAL | ||
682 | select HVC_DRIVER | ||
683 | default n | ||
684 | |||
685 | config HVC_DCC | ||
686 | bool "ARM JTAG DCC console" | ||
687 | depends on ARM | ||
688 | select HVC_DRIVER | ||
689 | help | ||
690 | This console uses the JTAG DCC on ARM to create a console under the HVC | ||
691 | driver. This console is used through a JTAG only on ARM. If you don't have | ||
692 | a JTAG then you probably don't want this option. | ||
693 | |||
694 | config HVC_BFIN_JTAG | ||
695 | bool "Blackfin JTAG console" | ||
696 | depends on BLACKFIN | ||
697 | select HVC_DRIVER | ||
698 | help | ||
699 | This console uses the Blackfin JTAG to create a console under the | ||
700 | the HVC driver. If you don't have JTAG, then you probably don't | ||
701 | want this option. | ||
702 | 469 | ||
703 | config VIRTIO_CONSOLE | 470 | config VIRTIO_CONSOLE |
704 | tristate "Virtio console" | 471 | tristate "Virtio console" |
@@ -716,23 +483,6 @@ config VIRTIO_CONSOLE | |||
716 | the port which can be used by udev scripts to create a | 483 | the port which can be used by udev scripts to create a |
717 | symlink to the device. | 484 | symlink to the device. |
718 | 485 | ||
719 | config HVCS | ||
720 | tristate "IBM Hypervisor Virtual Console Server support" | ||
721 | depends on PPC_PSERIES && HVC_CONSOLE | ||
722 | help | ||
723 | Partitionable IBM Power5 ppc64 machines allow hosting of | ||
724 | firmware virtual consoles from one Linux partition by | ||
725 | another Linux partition. This driver allows console data | ||
726 | from Linux partitions to be accessed through TTY device | ||
727 | interfaces in the device tree of a Linux partition running | ||
728 | this driver. | ||
729 | |||
730 | To compile this driver as a module, choose M here: the | ||
731 | module will be called hvcs. Additionally, this module | ||
732 | will depend on arch specific APIs exported from hvcserver.ko | ||
733 | which will also be compiled when this driver is built as a | ||
734 | module. | ||
735 | |||
736 | config IBM_BSR | 486 | config IBM_BSR |
737 | tristate "IBM POWER Barrier Synchronization Register support" | 487 | tristate "IBM POWER Barrier Synchronization Register support" |
738 | depends on PPC_PSERIES | 488 | depends on PPC_PSERIES |