1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Character device configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsmenu "Character devices" 71da177e4SLinus Torvalds 8bdcffc5aSGreg Kroah-Hartmansource "drivers/tty/Kconfig" 913ae6645SAntonino A. Daplas 1073f0718eSRob Wardconfig DEVMEM 1173f0718eSRob Ward bool "/dev/mem virtual device support" 1273f0718eSRob Ward default y 1373f0718eSRob Ward help 1473f0718eSRob Ward Say Y here if you want to support the /dev/mem device. 1573f0718eSRob Ward The /dev/mem device is used to access areas of physical 1673f0718eSRob Ward memory. 1773f0718eSRob Ward When in doubt, say "Y". 1873f0718eSRob Ward 19b781ecb6SArjan van de Venconfig DEVKMEM 20b781ecb6SArjan van de Ven bool "/dev/kmem virtual device support" 2106c35ef1SArd Biesheuvel # On arm64, VMALLOC_START < PAGE_OFFSET, which confuses kmem read/write 2206c35ef1SArd Biesheuvel depends on !ARM64 23b781ecb6SArjan van de Ven help 24b781ecb6SArjan van de Ven Say Y here if you want to support the /dev/kmem device. The 25b781ecb6SArjan van de Ven /dev/kmem device is rarely used, but can be used for certain 26b781ecb6SArjan van de Ven kind of kernel debugging operations. 27b781ecb6SArjan van de Ven When in doubt, say "N". 28b781ecb6SArjan van de Ven 29ab4382d2SGreg Kroah-Hartmansource "drivers/tty/serial/Kconfig" 30cd6484e1SRob Herringsource "drivers/tty/serdev/Kconfig" 311da177e4SLinus Torvalds 3224b4b67dSSamo Pogacnikconfig TTY_PRINTK 33b24313a8STakashi Iwai tristate "TTY driver to output user messages via printk" 344f73bc4dSJoe Millenbach depends on EXPERT && TTY 3524b4b67dSSamo Pogacnik default n 3624b4b67dSSamo Pogacnik ---help--- 3724b4b67dSSamo Pogacnik If you say Y here, the support for writing user messages (i.e. 3824b4b67dSSamo Pogacnik console messages) via printk is available. 3924b4b67dSSamo Pogacnik 4024b4b67dSSamo Pogacnik The feature is useful to inline user messages with kernel 4124b4b67dSSamo Pogacnik messages. 4224b4b67dSSamo Pogacnik In order to use this feature, you should output user messages 4324b4b67dSSamo Pogacnik to /dev/ttyprintk or redirect console to this TTY. 4424b4b67dSSamo Pogacnik 4524b4b67dSSamo Pogacnik If unsure, say N. 4624b4b67dSSamo Pogacnik 47acef6660SPeter Korsgaardconfig TTY_PRINTK_LEVEL 48acef6660SPeter Korsgaard depends on TTY_PRINTK 49acef6660SPeter Korsgaard int "ttyprintk log level (1-7)" 50acef6660SPeter Korsgaard range 1 7 51acef6660SPeter Korsgaard default "6" 52acef6660SPeter Korsgaard help 53acef6660SPeter Korsgaard Printk log level to use for ttyprintk messages. 54acef6660SPeter Korsgaard 551da177e4SLinus Torvaldsconfig PRINTER 561da177e4SLinus Torvalds tristate "Parallel printer support" 571da177e4SLinus Torvalds depends on PARPORT 581da177e4SLinus Torvalds ---help--- 591da177e4SLinus Torvalds If you intend to attach a printer to the parallel port of your Linux 601da177e4SLinus Torvalds box (as opposed to using a serial printer; if the connector at the 611da177e4SLinus Torvalds printer has 9 or 25 holes ["female"], then it's serial), say Y. 621da177e4SLinus Torvalds Also read the Printing-HOWTO, available from 631da177e4SLinus Torvalds <http://www.tldp.org/docs.html#howto>. 641da177e4SLinus Torvalds 651da177e4SLinus Torvalds It is possible to share one parallel port among several devices 661da177e4SLinus Torvalds (e.g. printer and ZIP drive) and it is safe to compile the 671da177e4SLinus Torvalds corresponding drivers into the kernel. 681da177e4SLinus Torvalds 691da177e4SLinus Torvalds To compile this driver as a module, choose M here and read 705fb94e9cSMauro Carvalho Chehab <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 711da177e4SLinus Torvalds 721da177e4SLinus Torvalds If you have several parallel ports, you can specify which ports to 731da177e4SLinus Torvalds use with the "lp" kernel command line option. (Try "man bootparam" 741da177e4SLinus Torvalds or see the documentation of your boot loader (lilo or loadlin) about 751da177e4SLinus Torvalds how to pass options to the kernel at boot time.) The syntax of the 761da177e4SLinus Torvalds "lp" command line option can be found in <file:drivers/char/lp.c>. 771da177e4SLinus Torvalds 781da177e4SLinus Torvalds If you have more than 8 printers, you need to increase the LP_NO 791da177e4SLinus Torvalds macro in lp.c and the PARPORT_MAX macro in parport.h. 801da177e4SLinus Torvalds 811da177e4SLinus Torvaldsconfig LP_CONSOLE 821da177e4SLinus Torvalds bool "Support for console on line printer" 831da177e4SLinus Torvalds depends on PRINTER 841da177e4SLinus Torvalds ---help--- 851da177e4SLinus Torvalds If you want kernel messages to be printed out as they occur, you 861da177e4SLinus Torvalds can have a console on the printer. This option adds support for 871da177e4SLinus Torvalds doing that; to actually get it to happen you need to pass the 881da177e4SLinus Torvalds option "console=lp0" to the kernel at boot time. 891da177e4SLinus Torvalds 901da177e4SLinus Torvalds If the printer is out of paper (or off, or unplugged, or too 911da177e4SLinus Torvalds busy..) the kernel will stall until the printer is ready again. 921da177e4SLinus Torvalds By defining CONSOLE_LP_STRICT to 0 (at your own risk) you 931da177e4SLinus Torvalds can make the kernel continue when this happens, 941da177e4SLinus Torvalds but it'll lose the kernel messages. 951da177e4SLinus Torvalds 961da177e4SLinus Torvalds If unsure, say N. 971da177e4SLinus Torvalds 981da177e4SLinus Torvaldsconfig PPDEV 991da177e4SLinus Torvalds tristate "Support for user-space parallel port device drivers" 1001da177e4SLinus Torvalds depends on PARPORT 1011da177e4SLinus Torvalds ---help--- 1021da177e4SLinus Torvalds Saying Y to this adds support for /dev/parport device nodes. This 1031da177e4SLinus Torvalds is needed for programs that want portable access to the parallel 1041da177e4SLinus Torvalds port, for instance deviceid (which displays Plug-and-Play device 1051da177e4SLinus Torvalds IDs). 1061da177e4SLinus Torvalds 1071da177e4SLinus Torvalds This is the parallel port equivalent of SCSI generic support (sg). 1081da177e4SLinus Torvalds It is safe to say N to this -- it is not needed for normal printing 1091da177e4SLinus Torvalds or parallel port CD-ROM/disk support. 1101da177e4SLinus Torvalds 1111da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1121da177e4SLinus Torvalds module will be called ppdev. 1131da177e4SLinus Torvalds 1141da177e4SLinus Torvalds If unsure, say N. 1151da177e4SLinus Torvalds 116bdcffc5aSGreg Kroah-Hartmansource "drivers/tty/hvc/Kconfig" 1175427bcf5SMike Frysinger 11831610434SRusty Russellconfig VIRTIO_CONSOLE 1197721c494SChristian Borntraeger tristate "Virtio console" 1204f73bc4dSJoe Millenbach depends on VIRTIO && TTY 12131610434SRusty Russell select HVC_DRIVER 1227721c494SChristian Borntraeger help 123ecda85e7SJuergen Gross Virtio console for use with hypervisors. 1247721c494SChristian Borntraeger 125fb08bd27SAmit Shah Also serves as a general-purpose serial device for data 126fb08bd27SAmit Shah transfer between the guest and host. Character devices at 127fb08bd27SAmit Shah /dev/vportNpn will be created when corresponding ports are 128fb08bd27SAmit Shah found, where N is the device number and n is the port number 129fb08bd27SAmit Shah within that device. If specified by the host, a sysfs 130fb08bd27SAmit Shah attribute called 'name' will be populated with a name for 131fb08bd27SAmit Shah the port which can be used by udev scripts to create a 132fb08bd27SAmit Shah symlink to the device. 13331610434SRusty Russell 134fe9e8d53SSonny Raoconfig IBM_BSR 135fe9e8d53SSonny Rao tristate "IBM POWER Barrier Synchronization Register support" 136fe9e8d53SSonny Rao depends on PPC_PSERIES 137fe9e8d53SSonny Rao help 138fe9e8d53SSonny Rao This devices exposes a hardware mechanism for fast synchronization 139fe9e8d53SSonny Rao of threads across a large system which avoids bouncing a cacheline 140fe9e8d53SSonny Rao between several cores on a system 141fe9e8d53SSonny Rao 14243a1dd9bSSuraj Jitindar Singhconfig POWERNV_OP_PANEL 14343a1dd9bSSuraj Jitindar Singh tristate "IBM POWERNV Operator Panel Display support" 14443a1dd9bSSuraj Jitindar Singh depends on PPC_POWERNV 14543a1dd9bSSuraj Jitindar Singh default m 14643a1dd9bSSuraj Jitindar Singh help 14743a1dd9bSSuraj Jitindar Singh If you say Y here, a special character device node, /dev/op_panel, 14843a1dd9bSSuraj Jitindar Singh will be created which exposes the operator panel display on IBM 14943a1dd9bSSuraj Jitindar Singh Power Systems machines with FSPs. 15043a1dd9bSSuraj Jitindar Singh 15143a1dd9bSSuraj Jitindar Singh If you don't require access to the operator panel display from user 15243a1dd9bSSuraj Jitindar Singh space, say N. 15343a1dd9bSSuraj Jitindar Singh 15443a1dd9bSSuraj Jitindar Singh If unsure, say M here to build it as a module called powernv-op-panel. 15543a1dd9bSSuraj Jitindar Singh 1561da177e4SLinus Torvaldssource "drivers/char/ipmi/Kconfig" 1571da177e4SLinus Torvalds 1581da177e4SLinus Torvaldsconfig DS1620 1591da177e4SLinus Torvalds tristate "NetWinder thermometer support" 1601da177e4SLinus Torvalds depends on ARCH_NETWINDER 1611da177e4SLinus Torvalds help 1621da177e4SLinus Torvalds Say Y here to include support for the thermal management hardware 1631da177e4SLinus Torvalds found in the NetWinder. This driver allows the user to control the 1641da177e4SLinus Torvalds temperature set points and to read the current temperature. 1651da177e4SLinus Torvalds 1661da177e4SLinus Torvalds It is also possible to say M here to build it as a module (ds1620) 1671da177e4SLinus Torvalds It is recommended to be used on a NetWinder, but it is not a 1681da177e4SLinus Torvalds necessity. 1691da177e4SLinus Torvalds 1701da177e4SLinus Torvaldsconfig NWBUTTON 1711da177e4SLinus Torvalds tristate "NetWinder Button" 1721da177e4SLinus Torvalds depends on ARCH_NETWINDER 1731da177e4SLinus Torvalds ---help--- 1741da177e4SLinus Torvalds If you say Y here and create a character device node /dev/nwbutton 1751da177e4SLinus Torvalds with major and minor numbers 10 and 158 ("man mknod"), then every 1761da177e4SLinus Torvalds time the orange button is pressed a number of times, the number of 1771da177e4SLinus Torvalds times the button was pressed will be written to that device. 1781da177e4SLinus Torvalds 1791da177e4SLinus Torvalds This is most useful for applications, as yet unwritten, which 1801da177e4SLinus Torvalds perform actions based on how many times the button is pressed in a 1811da177e4SLinus Torvalds row. 1821da177e4SLinus Torvalds 1831da177e4SLinus Torvalds Do not hold the button down for too long, as the driver does not 1841da177e4SLinus Torvalds alter the behaviour of the hardware reset circuitry attached to the 1851da177e4SLinus Torvalds button; it will still execute a hard reset if the button is held 1861da177e4SLinus Torvalds down for longer than approximately five seconds. 1871da177e4SLinus Torvalds 1881da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 1891da177e4SLinus Torvalds module will be called nwbutton. 1901da177e4SLinus Torvalds 1911da177e4SLinus Torvalds Most people will answer Y to this question and "Reboot Using Button" 1921da177e4SLinus Torvalds below to be able to initiate a system shutdown from the button. 1931da177e4SLinus Torvalds 1941da177e4SLinus Torvaldsconfig NWBUTTON_REBOOT 1951da177e4SLinus Torvalds bool "Reboot Using Button" 1961da177e4SLinus Torvalds depends on NWBUTTON 1971da177e4SLinus Torvalds help 1981da177e4SLinus Torvalds If you say Y here, then you will be able to initiate a system 1991da177e4SLinus Torvalds shutdown and reboot by pressing the orange button a number of times. 2001da177e4SLinus Torvalds The number of presses to initiate the shutdown is two by default, 2011da177e4SLinus Torvalds but this can be altered by modifying the value of NUM_PRESSES_REBOOT 2021da177e4SLinus Torvalds in nwbutton.h and recompiling the driver or, if you compile the 2031da177e4SLinus Torvalds driver as a module, you can specify the number of presses at load 2041da177e4SLinus Torvalds time with "insmod button reboot_count=<something>". 2051da177e4SLinus Torvalds 2061da177e4SLinus Torvaldsconfig NWFLASH 2071da177e4SLinus Torvalds tristate "NetWinder flash support" 2081da177e4SLinus Torvalds depends on ARCH_NETWINDER 2091da177e4SLinus Torvalds ---help--- 2101da177e4SLinus Torvalds If you say Y here and create a character device /dev/flash with 2111da177e4SLinus Torvalds major 10 and minor 160 you can manipulate the flash ROM containing 2121da177e4SLinus Torvalds the NetWinder firmware. Be careful as accidentally overwriting the 2131da177e4SLinus Torvalds flash contents can render your computer unbootable. On no account 2141da177e4SLinus Torvalds allow random users access to this device. :-) 2151da177e4SLinus Torvalds 2161da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 2171da177e4SLinus Torvalds module will be called nwflash. 2181da177e4SLinus Torvalds 2191da177e4SLinus Torvalds If you're not sure, say N. 2201da177e4SLinus Torvalds 221844dd05fSMichael Bueschsource "drivers/char/hw_random/Kconfig" 222844dd05fSMichael Buesch 2231da177e4SLinus Torvaldsconfig NVRAM 2241da177e4SLinus Torvalds tristate "/dev/nvram support" 225f9c3a570SFinn Thain depends on X86 || HAVE_ARCH_NVRAM_OPS 226f9c3a570SFinn Thain default M68K || PPC 2271da177e4SLinus Torvalds ---help--- 2281da177e4SLinus Torvalds If you say Y here and create a character special file /dev/nvram 2291da177e4SLinus Torvalds with major number 10 and minor number 144 using mknod ("man mknod"), 230f9c3a570SFinn Thain you get read and write access to the non-volatile memory. 2311da177e4SLinus Torvalds 232f9c3a570SFinn Thain /dev/nvram may be used to view settings in NVRAM or to change them 233f9c3a570SFinn Thain (with some utility). It could also be used to frequently 2341da177e4SLinus Torvalds save a few bits of very important data that may not be lost over 2351da177e4SLinus Torvalds power-off and for which writing to disk is too insecure. Note 2361da177e4SLinus Torvalds however that most NVRAM space in a PC belongs to the BIOS and you 2371da177e4SLinus Torvalds should NEVER idly tamper with it. See Ralf Brown's interrupt list 2381da177e4SLinus Torvalds for a guide to the use of CMOS bytes by your BIOS. 2391da177e4SLinus Torvalds 240f9c3a570SFinn Thain This memory is conventionally called "NVRAM" on PowerPC machines, 241f9c3a570SFinn Thain "CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes. 242f9c3a570SFinn Thain 2431da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 2441da177e4SLinus Torvalds module will be called nvram. 2451da177e4SLinus Torvalds 246c7500900SDavid Brownell# 247c7500900SDavid Brownell# These legacy RTC drivers just cause too many conflicts with the generic 248c7500900SDavid Brownell# RTC framework ... let's not even try to coexist any more. 249c7500900SDavid Brownell# 250c7500900SDavid Brownellif RTC_LIB=n 251c7500900SDavid Brownell 2521da177e4SLinus Torvaldsconfig RTC 253e6d2bb2bSDavid Brownell tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)" 25405a0a344SArnd Bergmann depends on ALPHA 2551da177e4SLinus Torvalds ---help--- 2561da177e4SLinus Torvalds If you say Y here and create a character special file /dev/rtc with 2571da177e4SLinus Torvalds major number 10 and minor number 135 using mknod ("man mknod"), you 2581da177e4SLinus Torvalds will get access to the real time clock (or hardware clock) built 2591da177e4SLinus Torvalds into your computer. 2601da177e4SLinus Torvalds 2611da177e4SLinus Torvalds Every PC has such a clock built in. It can be used to generate 2621da177e4SLinus Torvalds signals from as low as 1Hz up to 8192Hz, and can also be used 2631da177e4SLinus Torvalds as a 24 hour alarm. It reports status information via the file 2641da177e4SLinus Torvalds /proc/driver/rtc and its behaviour is set by various ioctls on 2651da177e4SLinus Torvalds /dev/rtc. 2661da177e4SLinus Torvalds 2671da177e4SLinus Torvalds If you run Linux on a multiprocessor machine and said Y to 2681da177e4SLinus Torvalds "Symmetric Multi Processing" above, you should say Y here to read 2691da177e4SLinus Torvalds and set the RTC in an SMP compatible fashion. 2701da177e4SLinus Torvalds 2711da177e4SLinus Torvalds If you think you have a use for such a device (such as periodic data 2724f4cfa6cSMauro Carvalho Chehab sampling), then say Y here, and read <file:Documentation/admin-guide/rtc.rst> 2731da177e4SLinus Torvalds for details. 2741da177e4SLinus Torvalds 2751da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 2761da177e4SLinus Torvalds module will be called rtc. 2771da177e4SLinus Torvalds 2782240598cSAl Viroconfig JS_RTC 2792240598cSAl Viro tristate "Enhanced Real Time Clock Support" 2802240598cSAl Viro depends on SPARC32 && PCI 2812240598cSAl Viro ---help--- 2822240598cSAl Viro If you say Y here and create a character special file /dev/rtc with 2832240598cSAl Viro major number 10 and minor number 135 using mknod ("man mknod"), you 2842240598cSAl Viro will get access to the real time clock (or hardware clock) built 2852240598cSAl Viro into your computer. 2862240598cSAl Viro 2872240598cSAl Viro Every PC has such a clock built in. It can be used to generate 2882240598cSAl Viro signals from as low as 1Hz up to 8192Hz, and can also be used 2892240598cSAl Viro as a 24 hour alarm. It reports status information via the file 2902240598cSAl Viro /proc/driver/rtc and its behaviour is set by various ioctls on 2912240598cSAl Viro /dev/rtc. 2922240598cSAl Viro 2932240598cSAl Viro If you think you have a use for such a device (such as periodic data 2944f4cfa6cSMauro Carvalho Chehab sampling), then say Y here, and read <file:Documentation/admin-guide/rtc.rst> 2952240598cSAl Viro for details. 2962240598cSAl Viro 2972240598cSAl Viro To compile this driver as a module, choose M here: the 2982240598cSAl Viro module will be called js-rtc. 2992240598cSAl Viro 3001da177e4SLinus Torvaldsconfig EFI_RTC 3011da177e4SLinus Torvalds bool "EFI Real Time Clock Services" 3021da177e4SLinus Torvalds depends on IA64 3031da177e4SLinus Torvalds 304c7500900SDavid Brownellendif # RTC_LIB 305c7500900SDavid Brownell 3061da177e4SLinus Torvaldsconfig DTLK 3071da177e4SLinus Torvalds tristate "Double Talk PC internal speech card support" 308eeca7a36SMartin Schwidefsky depends on ISA 3091da177e4SLinus Torvalds help 3101da177e4SLinus Torvalds This driver is for the DoubleTalk PC, a speech synthesizer 3111da177e4SLinus Torvalds manufactured by RC Systems (<http://www.rcsys.com/>). It is also 3121da177e4SLinus Torvalds called the `internal DoubleTalk'. 3131da177e4SLinus Torvalds 3141da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 3151da177e4SLinus Torvalds module will be called dtlk. 3161da177e4SLinus Torvalds 317ef141a0bSStephen Neuendorfferconfig XILINX_HWICAP 318ef141a0bSStephen Neuendorffer tristate "Xilinx HWICAP Support" 3196fa612b5SMichal Simek depends on XILINX_VIRTEX || MICROBLAZE 320ef141a0bSStephen Neuendorffer help 321ef141a0bSStephen Neuendorffer This option enables support for Xilinx Internal Configuration 322ef141a0bSStephen Neuendorffer Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex 323ef141a0bSStephen Neuendorffer FPGA platforms to partially reconfigure the FPGA at runtime. 324ef141a0bSStephen Neuendorffer 325ef141a0bSStephen Neuendorffer If unsure, say N. 326ef141a0bSStephen Neuendorffer 3271da177e4SLinus Torvaldsconfig R3964 3281da177e4SLinus Torvalds tristate "Siemens R3964 line discipline" 329c7084edcSGreg Kroah-Hartman depends on TTY && BROKEN 3301da177e4SLinus Torvalds ---help--- 3311da177e4SLinus Torvalds This driver allows synchronous communication with devices using the 3321da177e4SLinus Torvalds Siemens R3964 packet protocol. Unless you are dealing with special 3331da177e4SLinus Torvalds hardware like PLCs, you are unlikely to need this. 3341da177e4SLinus Torvalds 3351da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 3361da177e4SLinus Torvalds module will be called n_r3964. 3371da177e4SLinus Torvalds 3381da177e4SLinus Torvalds If unsure, say N. 3391da177e4SLinus Torvalds 3401da177e4SLinus Torvaldsconfig APPLICOM 3411da177e4SLinus Torvalds tristate "Applicom intelligent fieldbus card support" 3421da177e4SLinus Torvalds depends on PCI 3431da177e4SLinus Torvalds ---help--- 3441da177e4SLinus Torvalds This driver provides the kernel-side support for the intelligent 3451da177e4SLinus Torvalds fieldbus cards made by Applicom International. More information 3461da177e4SLinus Torvalds about these cards can be found on the WWW at the address 3471da177e4SLinus Torvalds <http://www.applicom-int.com/>, or by email from David Woodhouse 3481da177e4SLinus Torvalds <dwmw2@infradead.org>. 3491da177e4SLinus Torvalds 3501da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 3511da177e4SLinus Torvalds module will be called applicom. 3521da177e4SLinus Torvalds 3531da177e4SLinus Torvalds If unsure, say N. 3541da177e4SLinus Torvalds 3551da177e4SLinus Torvaldsconfig SONYPI 35665929215SGreg Kroah-Hartman tristate "Sony Vaio Programmable I/O Control Device support" 35757dcf020SJean Delvare depends on X86_32 && PCI && INPUT 3581da177e4SLinus Torvalds ---help--- 3591da177e4SLinus Torvalds This driver enables access to the Sony Programmable I/O Control 3601da177e4SLinus Torvalds Device which can be found in many (all ?) Sony Vaio laptops. 3611da177e4SLinus Torvalds 3621da177e4SLinus Torvalds If you have one of those laptops, read 3639e1cbedeSMauro Carvalho Chehab <file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here. 3641da177e4SLinus Torvalds 3651da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 3661da177e4SLinus Torvalds module will be called sonypi. 3671da177e4SLinus Torvalds 36809762516SYoichi Yuasaconfig GPIO_TB0219 36909762516SYoichi Yuasa tristate "TANBAC TB0219 GPIO support" 370bef1f402SRobert P. J. Day depends on TANBAC_TB022X 371584e1236SYoichi Yuasa select GPIO_VR41XX 3721da177e4SLinus Torvalds 3731da177e4SLinus Torvaldssource "drivers/char/pcmcia/Kconfig" 3741da177e4SLinus Torvalds 3751da177e4SLinus Torvaldsconfig MWAVE 3761da177e4SLinus Torvalds tristate "ACP Modem (Mwave) support" 3774f73bc4dSJoe Millenbach depends on X86 && TTY 3781da177e4SLinus Torvalds select SERIAL_8250 3791da177e4SLinus Torvalds ---help--- 3801da177e4SLinus Torvalds The ACP modem (Mwave) for Linux is a WinModem. It is composed of a 3811da177e4SLinus Torvalds kernel driver and a user level application. Together these components 3821da177e4SLinus Torvalds support direct attachment to public switched telephone networks (PSTNs) 3831da177e4SLinus Torvalds and support selected world wide countries. 3841da177e4SLinus Torvalds 3851da177e4SLinus Torvalds This version of the ACP Modem driver supports the IBM Thinkpad 600E, 3861da177e4SLinus Torvalds 600, and 770 that include on board ACP modem hardware. 3871da177e4SLinus Torvalds 3881da177e4SLinus Torvalds The modem also supports the standard communications port interface 3891da177e4SLinus Torvalds (ttySx) and is compatible with the Hayes AT Command Set. 3901da177e4SLinus Torvalds 3911da177e4SLinus Torvalds The user level application needed to use this driver can be found at 3921da177e4SLinus Torvalds the IBM Linux Technology Center (LTC) web site: 3931da177e4SLinus Torvalds <http://www.ibm.com/linux/ltc/>. 3941da177e4SLinus Torvalds 3951da177e4SLinus Torvalds If you own one of the above IBM Thinkpads which has the Mwave chipset 3961da177e4SLinus Torvalds in it, say Y. 3971da177e4SLinus Torvalds 3981da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 3991da177e4SLinus Torvalds module will be called mwave. 4001da177e4SLinus Torvalds 4011da177e4SLinus Torvaldsconfig SCx200_GPIO 4021da177e4SLinus Torvalds tristate "NatSemi SCx200 GPIO Support" 4031da177e4SLinus Torvalds depends on SCx200 4047a8e2a5eSJim Cromie select NSC_GPIO 4051da177e4SLinus Torvalds help 4061da177e4SLinus Torvalds Give userspace access to the GPIO pins on the National 4071da177e4SLinus Torvalds Semiconductor SCx200 processors. 4081da177e4SLinus Torvalds 4091da177e4SLinus Torvalds If compiled as a module, it will be called scx200_gpio. 4101da177e4SLinus Torvalds 4117a8e2a5eSJim Cromieconfig PC8736x_GPIO 4127a8e2a5eSJim Cromie tristate "NatSemi PC8736x GPIO Support" 4133369465eSAl Viro depends on X86_32 && !UML 4147a8e2a5eSJim Cromie default SCx200_GPIO # mostly N 4157a8e2a5eSJim Cromie select NSC_GPIO # needed for support routines 4167a8e2a5eSJim Cromie help 4177a8e2a5eSJim Cromie Give userspace access to the GPIO pins on the National 4187a8e2a5eSJim Cromie Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip 4197a8e2a5eSJim Cromie has multiple functional units, inc several managed by 4207a8e2a5eSJim Cromie hwmon/pc87360 driver. Tested with PC-87366 4217a8e2a5eSJim Cromie 4227a8e2a5eSJim Cromie If compiled as a module, it will be called pc8736x_gpio. 4237a8e2a5eSJim Cromie 4247a8e2a5eSJim Cromieconfig NSC_GPIO 4257a8e2a5eSJim Cromie tristate "NatSemi Base GPIO Support" 426699352c3SDave Jones depends on X86_32 4277a8e2a5eSJim Cromie # selected by SCx200_GPIO and PC8736x_GPIO 4287a8e2a5eSJim Cromie # what about 2 selectors differing: m != y 4297a8e2a5eSJim Cromie help 4307a8e2a5eSJim Cromie Common support used (and needed) by scx200_gpio and 4317a8e2a5eSJim Cromie pc8736x_gpio drivers. If those drivers are built as 4327a8e2a5eSJim Cromie modules, this one will be too, named nsc_gpio 4337a8e2a5eSJim Cromie 4341da177e4SLinus Torvaldsconfig RAW_DRIVER 435abd4aa5aSDave Jones tristate "RAW driver (/dev/raw/rawN)" 4369361401eSDavid Howells depends on BLOCK 4371da177e4SLinus Torvalds help 4381da177e4SLinus Torvalds The raw driver permits block devices to be bound to /dev/raw/rawN. 4391da177e4SLinus Torvalds Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O. 4401da177e4SLinus Torvalds See the raw(8) manpage for more details. 4411da177e4SLinus Torvalds 442abd4aa5aSDave Jones Applications should preferably open the device (eg /dev/hda1) 4431da177e4SLinus Torvalds with the O_DIRECT flag. 4441da177e4SLinus Torvalds 4450de502aaSAndrew Mortonconfig MAX_RAW_DEVS 4460078bff5SJan Kara int "Maximum number of RAW devices to support (1-65536)" 4470de502aaSAndrew Morton depends on RAW_DRIVER 4487143479aSPaul Bolle range 1 65536 4490de502aaSAndrew Morton default "256" 4500de502aaSAndrew Morton help 4510de502aaSAndrew Morton The maximum number of RAW devices that are supported. 4520de502aaSAndrew Morton Default is 256. Increase this number in case you need lots of 4530de502aaSAndrew Morton raw devices. 4540de502aaSAndrew Morton 4551da177e4SLinus Torvaldsconfig HPET 4561da177e4SLinus Torvalds bool "HPET - High Precision Event Timer" if (X86 || IA64) 4571da177e4SLinus Torvalds default n 4581da177e4SLinus Torvalds depends on ACPI 4591da177e4SLinus Torvalds help 4601da177e4SLinus Torvalds If you say Y here, you will have a miscdevice named "/dev/hpet/". Each 4611da177e4SLinus Torvalds open selects one of the timers supported by the HPET. The timers are 4623cb2fcccSMatt LaPlante non-periodic and/or periodic. 4631da177e4SLinus Torvalds 4641da177e4SLinus Torvaldsconfig HPET_MMAP 4651da177e4SLinus Torvalds bool "Allow mmap of HPET" 4661da177e4SLinus Torvalds default y 4671da177e4SLinus Torvalds depends on HPET 4681da177e4SLinus Torvalds help 4691da177e4SLinus Torvalds If you say Y here, user applications will be able to mmap 4701da177e4SLinus Torvalds the HPET registers. 4711da177e4SLinus Torvalds 4723d035f58SPrarit Bhargavaconfig HPET_MMAP_DEFAULT 4733d035f58SPrarit Bhargava bool "Enable HPET MMAP access by default" 4743d035f58SPrarit Bhargava default y 4753d035f58SPrarit Bhargava depends on HPET_MMAP 4763d035f58SPrarit Bhargava help 4771da177e4SLinus Torvalds In some hardware implementations, the page containing HPET 4781da177e4SLinus Torvalds registers may also contain other things that shouldn't be 4793d035f58SPrarit Bhargava exposed to the user. This option selects the default (if 4803d035f58SPrarit Bhargava kernel parameter hpet_mmap is not set) user access to the 4813d035f58SPrarit Bhargava registers for applications that require it. 4821da177e4SLinus Torvalds 4831da177e4SLinus Torvaldsconfig HANGCHECK_TIMER 4841da177e4SLinus Torvalds tristate "Hangcheck timer" 485abf3ea1bSMartin Schwidefsky depends on X86 || IA64 || PPC64 || S390 4861da177e4SLinus Torvalds help 4871da177e4SLinus Torvalds The hangcheck-timer module detects when the system has gone 4881da177e4SLinus Torvalds out to lunch past a certain margin. It can reboot the system 4891da177e4SLinus Torvalds or merely print a warning. 4901da177e4SLinus Torvalds 491fbd8ae10SDimitri Sivanichconfig UV_MMTIMER 492fbd8ae10SDimitri Sivanich tristate "UV_MMTIMER Memory mapped RTC for SGI UV" 493fbd8ae10SDimitri Sivanich depends on X86_UV 494fbd8ae10SDimitri Sivanich default m 495fbd8ae10SDimitri Sivanich help 496fbd8ae10SDimitri Sivanich The uv_mmtimer device allows direct userspace access to the 497fbd8ae10SDimitri Sivanich UV system timer. 498fbd8ae10SDimitri Sivanich 4991da177e4SLinus Torvaldssource "drivers/char/tpm/Kconfig" 5001da177e4SLinus Torvalds 5011a80ba88SMark Grossconfig TELCLOCK 50203154a27SMark Gross tristate "Telecom clock driver for ATCA SBC" 50365929215SGreg Kroah-Hartman depends on X86 5041a80ba88SMark Gross default n 5051a80ba88SMark Gross help 50603154a27SMark Gross The telecom clock device is specific to the MPCBL0010 and MPCBL0050 50703154a27SMark Gross ATCA computers and allows direct userspace access to the 50803154a27SMark Gross configuration of the telecom clock configuration settings. This 50903154a27SMark Gross device is used for hardware synchronization across the ATCA backplane 51003154a27SMark Gross fabric. Upon loading, the driver exports a sysfs directory, 51103154a27SMark Gross /sys/devices/platform/telco_clock, with a number of files for 51203154a27SMark Gross controlling the behavior of this hardware. 5131a80ba88SMark Gross 5144f911d64SRussell Kingconfig DEVPORT 515f2cfa58bSMax Bires bool "/dev/port character device" 5164f911d64SRussell King depends on ISA || PCI 5174f911d64SRussell King default y 518f2cfa58bSMax Bires help 519f2cfa58bSMax Bires Say Y here if you want to support the /dev/port device. The /dev/port 520f2cfa58bSMax Bires device is similar to /dev/mem, but for I/O ports. 5214f911d64SRussell King 52261d48c2cSMartin Schwidefskysource "drivers/s390/char/Kconfig" 52361d48c2cSMartin Schwidefsky 5247051924fSEli Billauersource "drivers/char/xillybus/Kconfig" 5257051924fSEli Billauer 526873c38a4STom Hromatkaconfig ADI 527873c38a4STom Hromatka tristate "SPARC Privileged ADI driver" 528873c38a4STom Hromatka depends on SPARC64 529873c38a4STom Hromatka default m 530873c38a4STom Hromatka help 531873c38a4STom Hromatka SPARC M7 and newer processors utilize ADI (Application Data 532873c38a4STom Hromatka Integrity) to version and protect memory. This driver provides 533873c38a4STom Hromatka read/write access to the ADI versions for privileged processes. 534873c38a4STom Hromatka This feature is also known as MCD (Memory Corruption Detection) 535873c38a4STom Hromatka and SSM (Silicon Secured Memory). Intended consumers of this 536873c38a4STom Hromatka driver include crash and makedumpfile. 537873c38a4STom Hromatka 5381da177e4SLinus Torvaldsendmenu 5391da177e4SLinus Torvalds 54039a8883aSTheodore Ts'oconfig RANDOM_TRUST_CPU 54139a8883aSTheodore Ts'o bool "Trust the CPU manufacturer to initialize Linux's CRNG" 542*23ae0c17SRichard Henderson depends on ARCH_RANDOM 54339a8883aSTheodore Ts'o default n 54439a8883aSTheodore Ts'o help 54539a8883aSTheodore Ts'o Assume that CPU manufacturer (e.g., Intel or AMD for RDSEED or 54639a8883aSTheodore Ts'o RDRAND, IBM for the S390 and Power PC architectures) is trustworthy 54739a8883aSTheodore Ts'o for the purposes of initializing Linux's CRNG. Since this is not 54839a8883aSTheodore Ts'o something that can be independently audited, this amounts to trusting 54939a8883aSTheodore Ts'o that CPU manufacturer (perhaps with the insistence or mandate 55039a8883aSTheodore Ts'o of a Nation State's intelligence or law enforcement agencies) 55139a8883aSTheodore Ts'o has not installed a hidden back door to compromise the CPU's 5529b254366SKees Cook random number generation facilities. This can also be configured 5539b254366SKees Cook at boot with "random.trust_cpu=on/off". 554428826f5SHsin-Yi Wang 555428826f5SHsin-Yi Wangconfig RANDOM_TRUST_BOOTLOADER 556428826f5SHsin-Yi Wang bool "Trust the bootloader to initialize Linux's CRNG" 557428826f5SHsin-Yi Wang help 558428826f5SHsin-Yi Wang Some bootloaders can provide entropy to increase the kernel's initial 559428826f5SHsin-Yi Wang device randomness. Say Y here to assume the entropy provided by the 560428826f5SHsin-Yi Wang booloader is trustworthy so it will be added to the kernel's entropy 561428826f5SHsin-Yi Wang pool. Otherwise, say N here so it will be regarded as device input that 562428826f5SHsin-Yi Wang only mixes the entropy pool. 563