Merge tag 'v3.10.73' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / char / Kconfig
CommitLineData
1da177e4
LT
1#
2# Character device configuration
3#
4
5menu "Character devices"
6
bdcffc5a 7source "drivers/tty/Kconfig"
13ae6645 8
6fa3eb70
S
9config DEVMEM
10 bool "Memory device driver"
11 default y
12 help
13 The memory driver provides two character devices, mem and kmem, which
14 provide access to the system's memory. The mem device is a view of
15 physical memory, and each byte in the device corresponds to the
16 matching physical address. The kmem device is the same as mem, but
17 the addresses correspond to the kernel's virtual address space rather
18 than physical memory. These devices are standard parts of a Linux
19 system and most users should say Y here. You might say N if very
20 security conscience or memory is tight.
21
b781ecb6
AV
22config DEVKMEM
23 bool "/dev/kmem virtual device support"
24 default y
25 help
26 Say Y here if you want to support the /dev/kmem device. The
27 /dev/kmem device is rarely used, but can be used for certain
28 kind of kernel debugging operations.
29 When in doubt, say "N".
30
1da177e4
LT
31config STALDRV
32 bool "Stallion multiport serial support"
33 depends on SERIAL_NONSTANDARD
34 help
35 Stallion cards give you many serial ports. You would need something
36 like this to connect more than two modems to your Linux box, for
37 instance in order to become a dial-in server. If you say Y here,
38 you will be asked for your specific card model in the next
31c00fc1
RD
39 questions. Make sure to read <file:Documentation/serial/stallion.txt>
40 in this case. If you have never heard about all this, it's safe to
1da177e4
LT
41 say N.
42
1da177e4
LT
43config SGI_SNSC
44 bool "SGI Altix system controller communication support"
45 depends on (IA64_SGI_SN2 || IA64_GENERIC)
46 help
47 If you have an SGI Altix and you want to enable system
48 controller communication from user space (you want this!),
49 say Y. Otherwise, say N.
50
e1e19747
BL
51config SGI_TIOCX
52 bool "SGI TIO CX driver support"
53 depends on (IA64_SGI_SN2 || IA64_GENERIC)
54 help
55 If you have an SGI Altix and you have fpga devices attached
56 to your TIO, say Y here, otherwise say N.
57
58config SGI_MBCS
59 tristate "SGI FPGA Core Services driver support"
ae40aae9 60 depends on SGI_TIOCX
e1e19747
BL
61 help
62 If you have an SGI Altix with an attached SABrick
63 say Y or M here, otherwise say N.
64
ab4382d2 65source "drivers/tty/serial/Kconfig"
1da177e4 66
24b4b67d
SP
67config TTY_PRINTK
68 bool "TTY driver to output user messages via printk"
4f73bc4d 69 depends on EXPERT && TTY
24b4b67d
SP
70 default n
71 ---help---
72 If you say Y here, the support for writing user messages (i.e.
73 console messages) via printk is available.
74
75 The feature is useful to inline user messages with kernel
76 messages.
77 In order to use this feature, you should output user messages
78 to /dev/ttyprintk or redirect console to this TTY.
79
80 If unsure, say N.
81
2dc63a84
MF
82config BFIN_OTP
83 tristate "Blackfin On-Chip OTP Memory Support"
f69b2d7e 84 depends on BLACKFIN && (BF51x || BF52x || BF54x)
2dc63a84
MF
85 default y
86 help
87 If you say Y here, you will get support for a character device
88 interface into the One Time Programmable memory pages that are
89 stored on the Blackfin processor. This will not get you access
90 to the secure memory pages however. You will need to write your
91 own secure code and reader for that.
92
93 To compile this driver as a module, choose M here: the module
94 will be called bfin-otp.
95
96 If unsure, it is safe to say Y.
97
98config BFIN_OTP_WRITE_ENABLE
99 bool "Enable writing support of OTP pages"
100 depends on BFIN_OTP
101 default n
102 help
103 If you say Y here, you will enable support for writing of the
104 OTP pages. This is dangerous by nature as you can only program
105 the pages once, so only enable this option when you actually
106 need it so as to not inadvertently clobber data.
107
108 If unsure, say N.
109
1da177e4
LT
110config PRINTER
111 tristate "Parallel printer support"
112 depends on PARPORT
113 ---help---
114 If you intend to attach a printer to the parallel port of your Linux
115 box (as opposed to using a serial printer; if the connector at the
116 printer has 9 or 25 holes ["female"], then it's serial), say Y.
117 Also read the Printing-HOWTO, available from
118 <http://www.tldp.org/docs.html#howto>.
119
120 It is possible to share one parallel port among several devices
121 (e.g. printer and ZIP drive) and it is safe to compile the
122 corresponding drivers into the kernel.
123
124 To compile this driver as a module, choose M here and read
125 <file:Documentation/parport.txt>. The module will be called lp.
126
127 If you have several parallel ports, you can specify which ports to
128 use with the "lp" kernel command line option. (Try "man bootparam"
129 or see the documentation of your boot loader (lilo or loadlin) about
130 how to pass options to the kernel at boot time.) The syntax of the
131 "lp" command line option can be found in <file:drivers/char/lp.c>.
132
133 If you have more than 8 printers, you need to increase the LP_NO
134 macro in lp.c and the PARPORT_MAX macro in parport.h.
135
136config LP_CONSOLE
137 bool "Support for console on line printer"
138 depends on PRINTER
139 ---help---
140 If you want kernel messages to be printed out as they occur, you
141 can have a console on the printer. This option adds support for
142 doing that; to actually get it to happen you need to pass the
143 option "console=lp0" to the kernel at boot time.
144
145 If the printer is out of paper (or off, or unplugged, or too
146 busy..) the kernel will stall until the printer is ready again.
147 By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
148 can make the kernel continue when this happens,
149 but it'll lose the kernel messages.
150
151 If unsure, say N.
152
153config PPDEV
154 tristate "Support for user-space parallel port device drivers"
155 depends on PARPORT
156 ---help---
157 Saying Y to this adds support for /dev/parport device nodes. This
158 is needed for programs that want portable access to the parallel
159 port, for instance deviceid (which displays Plug-and-Play device
160 IDs).
161
162 This is the parallel port equivalent of SCSI generic support (sg).
163 It is safe to say N to this -- it is not needed for normal printing
164 or parallel port CD-ROM/disk support.
165
166 To compile this driver as a module, choose M here: the
167 module will be called ppdev.
168
169 If unsure, say N.
170
bdcffc5a 171source "drivers/tty/hvc/Kconfig"
5427bcf5 172
31610434 173config VIRTIO_CONSOLE
7721c494 174 tristate "Virtio console"
4f73bc4d 175 depends on VIRTIO && TTY
31610434 176 select HVC_DRIVER
7721c494
CB
177 help
178 Virtio console for use with lguest and other hypervisors.
179
fb08bd27
AS
180 Also serves as a general-purpose serial device for data
181 transfer between the guest and host. Character devices at
182 /dev/vportNpn will be created when corresponding ports are
183 found, where N is the device number and n is the port number
184 within that device. If specified by the host, a sysfs
185 attribute called 'name' will be populated with a name for
186 the port which can be used by udev scripts to create a
187 symlink to the device.
31610434 188
fe9e8d53
SR
189config IBM_BSR
190 tristate "IBM POWER Barrier Synchronization Register support"
191 depends on PPC_PSERIES
192 help
193 This devices exposes a hardware mechanism for fast synchronization
194 of threads across a large system which avoids bouncing a cacheline
195 between several cores on a system
196
1da177e4
LT
197source "drivers/char/ipmi/Kconfig"
198
1da177e4
LT
199config DS1620
200 tristate "NetWinder thermometer support"
201 depends on ARCH_NETWINDER
202 help
203 Say Y here to include support for the thermal management hardware
204 found in the NetWinder. This driver allows the user to control the
205 temperature set points and to read the current temperature.
206
207 It is also possible to say M here to build it as a module (ds1620)
208 It is recommended to be used on a NetWinder, but it is not a
209 necessity.
210
211config NWBUTTON
212 tristate "NetWinder Button"
213 depends on ARCH_NETWINDER
214 ---help---
215 If you say Y here and create a character device node /dev/nwbutton
216 with major and minor numbers 10 and 158 ("man mknod"), then every
217 time the orange button is pressed a number of times, the number of
218 times the button was pressed will be written to that device.
219
220 This is most useful for applications, as yet unwritten, which
221 perform actions based on how many times the button is pressed in a
222 row.
223
224 Do not hold the button down for too long, as the driver does not
225 alter the behaviour of the hardware reset circuitry attached to the
226 button; it will still execute a hard reset if the button is held
227 down for longer than approximately five seconds.
228
229 To compile this driver as a module, choose M here: the
230 module will be called nwbutton.
231
232 Most people will answer Y to this question and "Reboot Using Button"
233 below to be able to initiate a system shutdown from the button.
234
235config NWBUTTON_REBOOT
236 bool "Reboot Using Button"
237 depends on NWBUTTON
238 help
239 If you say Y here, then you will be able to initiate a system
240 shutdown and reboot by pressing the orange button a number of times.
241 The number of presses to initiate the shutdown is two by default,
242 but this can be altered by modifying the value of NUM_PRESSES_REBOOT
243 in nwbutton.h and recompiling the driver or, if you compile the
244 driver as a module, you can specify the number of presses at load
245 time with "insmod button reboot_count=<something>".
246
247config NWFLASH
248 tristate "NetWinder flash support"
249 depends on ARCH_NETWINDER
250 ---help---
251 If you say Y here and create a character device /dev/flash with
252 major 10 and minor 160 you can manipulate the flash ROM containing
253 the NetWinder firmware. Be careful as accidentally overwriting the
254 flash contents can render your computer unbootable. On no account
255 allow random users access to this device. :-)
256
257 To compile this driver as a module, choose M here: the
258 module will be called nwflash.
259
260 If you're not sure, say N.
261
844dd05f
MB
262source "drivers/char/hw_random/Kconfig"
263
1da177e4
LT
264config NVRAM
265 tristate "/dev/nvram support"
807a96cd 266 depends on ATARI || X86 || (ARM && RTC_DRV_CMOS) || GENERIC_NVRAM
1da177e4
LT
267 ---help---
268 If you say Y here and create a character special file /dev/nvram
269 with major number 10 and minor number 144 using mknod ("man mknod"),
270 you get read and write access to the extra bytes of non-volatile
271 memory in the real time clock (RTC), which is contained in every PC
272 and most Ataris. The actual number of bytes varies, depending on the
273 nvram in the system, but is usually 114 (128-14 for the RTC).
274
275 This memory is conventionally called "CMOS RAM" on PCs and "NVRAM"
276 on Ataris. /dev/nvram may be used to view settings there, or to
277 change them (with some utility). It could also be used to frequently
278 save a few bits of very important data that may not be lost over
279 power-off and for which writing to disk is too insecure. Note
280 however that most NVRAM space in a PC belongs to the BIOS and you
281 should NEVER idly tamper with it. See Ralf Brown's interrupt list
282 for a guide to the use of CMOS bytes by your BIOS.
283
284 On Atari machines, /dev/nvram is always configured and does not need
285 to be selected.
286
287 To compile this driver as a module, choose M here: the
288 module will be called nvram.
289
c7500900
DB
290#
291# These legacy RTC drivers just cause too many conflicts with the generic
292# RTC framework ... let's not even try to coexist any more.
293#
294if RTC_LIB=n
295
1da177e4 296config RTC
e6d2bb2b 297 tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
c7500900 298 depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
3369465e 299 && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML
1da177e4
LT
300 ---help---
301 If you say Y here and create a character special file /dev/rtc with
302 major number 10 and minor number 135 using mknod ("man mknod"), you
303 will get access to the real time clock (or hardware clock) built
304 into your computer.
305
306 Every PC has such a clock built in. It can be used to generate
307 signals from as low as 1Hz up to 8192Hz, and can also be used
308 as a 24 hour alarm. It reports status information via the file
309 /proc/driver/rtc and its behaviour is set by various ioctls on
310 /dev/rtc.
311
312 If you run Linux on a multiprocessor machine and said Y to
313 "Symmetric Multi Processing" above, you should say Y here to read
314 and set the RTC in an SMP compatible fashion.
315
316 If you think you have a use for such a device (such as periodic data
317 sampling), then say Y here, and read <file:Documentation/rtc.txt>
318 for details.
319
320 To compile this driver as a module, choose M here: the
321 module will be called rtc.
322
2240598c
AV
323config JS_RTC
324 tristate "Enhanced Real Time Clock Support"
325 depends on SPARC32 && PCI
326 ---help---
327 If you say Y here and create a character special file /dev/rtc with
328 major number 10 and minor number 135 using mknod ("man mknod"), you
329 will get access to the real time clock (or hardware clock) built
330 into your computer.
331
332 Every PC has such a clock built in. It can be used to generate
333 signals from as low as 1Hz up to 8192Hz, and can also be used
334 as a 24 hour alarm. It reports status information via the file
335 /proc/driver/rtc and its behaviour is set by various ioctls on
336 /dev/rtc.
337
338 If you think you have a use for such a device (such as periodic data
339 sampling), then say Y here, and read <file:Documentation/rtc.txt>
340 for details.
341
342 To compile this driver as a module, choose M here: the
343 module will be called js-rtc.
344
1da177e4
LT
345config GEN_RTC
346 tristate "Generic /dev/rtc emulation"
3369465e 347 depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN && !UML
1da177e4
LT
348 ---help---
349 If you say Y here and create a character special file /dev/rtc with
350 major number 10 and minor number 135 using mknod ("man mknod"), you
351 will get access to the real time clock (or hardware clock) built
352 into your computer.
353
354 It reports status information via the file /proc/driver/rtc and its
355 behaviour is set by various ioctls on /dev/rtc. If you enable the
356 "extended RTC operation" below it will also provide an emulation
357 for RTC_UIE which is required by some programs and may improve
358 precision in some cases.
359
360 To compile this driver as a module, choose M here: the
361 module will be called genrtc.
362
363config GEN_RTC_X
364 bool "Extended RTC operation"
365 depends on GEN_RTC
366 help
367 Provides an emulation for RTC_UIE which is required by some programs
368 and may improve precision of the generic RTC support in some cases.
369
370config EFI_RTC
371 bool "EFI Real Time Clock Services"
372 depends on IA64
373
374config DS1302
375 tristate "DS1302 RTC support"
376 depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT)
377 help
378 If you say Y here and create a character special file /dev/rtc with
379 major number 121 and minor number 0 using mknod ("man mknod"), you
380 will get access to the real time clock (or hardware clock) built
381 into your computer.
382
c7500900
DB
383endif # RTC_LIB
384
1da177e4
LT
385config DTLK
386 tristate "Double Talk PC internal speech card support"
eeca7a36 387 depends on ISA
1da177e4
LT
388 help
389 This driver is for the DoubleTalk PC, a speech synthesizer
390 manufactured by RC Systems (<http://www.rcsys.com/>). It is also
391 called the `internal DoubleTalk'.
392
393 To compile this driver as a module, choose M here: the
394 module will be called dtlk.
395
ef141a0b
SN
396config XILINX_HWICAP
397 tristate "Xilinx HWICAP Support"
6fa612b5 398 depends on XILINX_VIRTEX || MICROBLAZE
ef141a0b
SN
399 help
400 This option enables support for Xilinx Internal Configuration
401 Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
402 FPGA platforms to partially reconfigure the FPGA at runtime.
403
404 If unsure, say N.
405
1da177e4
LT
406config R3964
407 tristate "Siemens R3964 line discipline"
4f73bc4d 408 depends on TTY
1da177e4
LT
409 ---help---
410 This driver allows synchronous communication with devices using the
411 Siemens R3964 packet protocol. Unless you are dealing with special
412 hardware like PLCs, you are unlikely to need this.
413
414 To compile this driver as a module, choose M here: the
415 module will be called n_r3964.
416
417 If unsure, say N.
418
419config APPLICOM
420 tristate "Applicom intelligent fieldbus card support"
421 depends on PCI
422 ---help---
423 This driver provides the kernel-side support for the intelligent
424 fieldbus cards made by Applicom International. More information
425 about these cards can be found on the WWW at the address
426 <http://www.applicom-int.com/>, or by email from David Woodhouse
427 <dwmw2@infradead.org>.
428
429 To compile this driver as a module, choose M here: the
430 module will be called applicom.
431
432 If unsure, say N.
433
434config SONYPI
65929215
GKH
435 tristate "Sony Vaio Programmable I/O Control Device support"
436 depends on X86 && PCI && INPUT && !64BIT
1da177e4
LT
437 ---help---
438 This driver enables access to the Sony Programmable I/O Control
439 Device which can be found in many (all ?) Sony Vaio laptops.
440
441 If you have one of those laptops, read
018a651a 442 <file:Documentation/laptops/sonypi.txt>, and say Y or M here.
1da177e4
LT
443
444 To compile this driver as a module, choose M here: the
445 module will be called sonypi.
446
09762516
YY
447config GPIO_TB0219
448 tristate "TANBAC TB0219 GPIO support"
bef1f402 449 depends on TANBAC_TB022X
584e1236 450 select GPIO_VR41XX
1da177e4 451
1da177e4
LT
452source "drivers/char/pcmcia/Kconfig"
453
454config MWAVE
455 tristate "ACP Modem (Mwave) support"
4f73bc4d 456 depends on X86 && TTY
1da177e4
LT
457 select SERIAL_8250
458 ---help---
459 The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
460 kernel driver and a user level application. Together these components
461 support direct attachment to public switched telephone networks (PSTNs)
462 and support selected world wide countries.
463
464 This version of the ACP Modem driver supports the IBM Thinkpad 600E,
465 600, and 770 that include on board ACP modem hardware.
466
467 The modem also supports the standard communications port interface
468 (ttySx) and is compatible with the Hayes AT Command Set.
469
470 The user level application needed to use this driver can be found at
471 the IBM Linux Technology Center (LTC) web site:
472 <http://www.ibm.com/linux/ltc/>.
473
474 If you own one of the above IBM Thinkpads which has the Mwave chipset
475 in it, say Y.
476
477 To compile this driver as a module, choose M here: the
478 module will be called mwave.
479
480config SCx200_GPIO
481 tristate "NatSemi SCx200 GPIO Support"
482 depends on SCx200
7a8e2a5e 483 select NSC_GPIO
1da177e4
LT
484 help
485 Give userspace access to the GPIO pins on the National
486 Semiconductor SCx200 processors.
487
488 If compiled as a module, it will be called scx200_gpio.
489
7a8e2a5e
JC
490config PC8736x_GPIO
491 tristate "NatSemi PC8736x GPIO Support"
3369465e 492 depends on X86_32 && !UML
7a8e2a5e
JC
493 default SCx200_GPIO # mostly N
494 select NSC_GPIO # needed for support routines
495 help
496 Give userspace access to the GPIO pins on the National
497 Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
498 has multiple functional units, inc several managed by
499 hwmon/pc87360 driver. Tested with PC-87366
500
501 If compiled as a module, it will be called pc8736x_gpio.
502
503config NSC_GPIO
504 tristate "NatSemi Base GPIO Support"
699352c3 505 depends on X86_32
7a8e2a5e
JC
506 # selected by SCx200_GPIO and PC8736x_GPIO
507 # what about 2 selectors differing: m != y
508 help
509 Common support used (and needed) by scx200_gpio and
510 pc8736x_gpio drivers. If those drivers are built as
511 modules, this one will be too, named nsc_gpio
512
1da177e4 513config RAW_DRIVER
abd4aa5a 514 tristate "RAW driver (/dev/raw/rawN)"
9361401e 515 depends on BLOCK
1da177e4 516 help
abd4aa5a
DJ
517 The raw driver permits block devices to be bound to /dev/raw/rawN.
518 Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
1da177e4
LT
519 See the raw(8) manpage for more details.
520
abd4aa5a 521 Applications should preferably open the device (eg /dev/hda1)
1da177e4
LT
522 with the O_DIRECT flag.
523
0de502aa 524config MAX_RAW_DEVS
0078bff5 525 int "Maximum number of RAW devices to support (1-65536)"
0de502aa
AM
526 depends on RAW_DRIVER
527 default "256"
528 help
529 The maximum number of RAW devices that are supported.
530 Default is 256. Increase this number in case you need lots of
531 raw devices.
532
1da177e4
LT
533config HPET
534 bool "HPET - High Precision Event Timer" if (X86 || IA64)
535 default n
536 depends on ACPI
537 help
538 If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
539 open selects one of the timers supported by the HPET. The timers are
3cb2fccc 540 non-periodic and/or periodic.
1da177e4 541
1da177e4
LT
542config HPET_MMAP
543 bool "Allow mmap of HPET"
544 default y
545 depends on HPET
546 help
547 If you say Y here, user applications will be able to mmap
548 the HPET registers.
549
550 In some hardware implementations, the page containing HPET
551 registers may also contain other things that shouldn't be
552 exposed to the user. If this applies to your hardware,
553 say N here.
554
1da177e4
LT
555config HANGCHECK_TIMER
556 tristate "Hangcheck timer"
abf3ea1b 557 depends on X86 || IA64 || PPC64 || S390
1da177e4
LT
558 help
559 The hangcheck-timer module detects when the system has gone
560 out to lunch past a certain margin. It can reboot the system
561 or merely print a warning.
562
563config MMTIMER
564 tristate "MMTIMER Memory mapped RTC for SGI Altix"
565 depends on IA64_GENERIC || IA64_SGI_SN2
566 default y
567 help
568 The mmtimer device allows direct userspace access to the
569 Altix system timer.
570
fbd8ae10
DS
571config UV_MMTIMER
572 tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
573 depends on X86_UV
574 default m
575 help
576 The uv_mmtimer device allows direct userspace access to the
577 UV system timer.
578
1da177e4
LT
579source "drivers/char/tpm/Kconfig"
580
1a80ba88 581config TELCLOCK
03154a27 582 tristate "Telecom clock driver for ATCA SBC"
65929215 583 depends on X86
1a80ba88
MG
584 default n
585 help
03154a27
MG
586 The telecom clock device is specific to the MPCBL0010 and MPCBL0050
587 ATCA computers and allows direct userspace access to the
588 configuration of the telecom clock configuration settings. This
589 device is used for hardware synchronization across the ATCA backplane
590 fabric. Upon loading, the driver exports a sysfs directory,
591 /sys/devices/platform/telco_clock, with a number of files for
592 controlling the behavior of this hardware.
1a80ba88 593
4f911d64
RK
594config DEVPORT
595 bool
596 depends on !M68K
597 depends on ISA || PCI
598 default y
599
6fa3eb70
S
600config DCC_TTY
601 tristate "DCC tty driver"
602 depends on ARM
603
61d48c2c
MS
604source "drivers/s390/char/Kconfig"
605
73210a13
NV
606config MSM_SMD_PKT
607 bool "Enable device interface for some SMD packet ports"
608 default n
609 depends on MSM_SMD
610 help
611 Enables userspace clients to read and write to some packet SMD
612 ports via device interface for MSM chipset.
613
dbcb4a1a
CM
614config TILE_SROM
615 bool "Character-device access via hypervisor to the Tilera SPI ROM"
616 depends on TILE
617 default y
618 ---help---
619 This device provides character-level read-write access
620 to the SROM, typically via the "0", "1", and "2" devices
621 in /dev/srom/. The Tilera hypervisor makes the flash
622 device appear much like a simple EEPROM, and knows
623 how to partition a single ROM for multiple purposes.
624
1da177e4
LT
625endmenu
626