xref: /linux/drivers/char/Kconfig (revision 8d7dc56ee908df8781fd9ffdeb860b9ce56eed15)
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
10ab4382d2SGreg Kroah-Hartmansource "drivers/tty/serial/Kconfig"
11cd6484e1SRob Herringsource "drivers/tty/serdev/Kconfig"
121da177e4SLinus Torvalds
1324b4b67dSSamo Pogacnikconfig TTY_PRINTK
14b24313a8STakashi Iwai	tristate "TTY driver to output user messages via printk"
154f73bc4dSJoe Millenbach	depends on EXPERT && TTY
1624b4b67dSSamo Pogacnik	default n
1724b4b67dSSamo Pogacnik	---help---
1824b4b67dSSamo Pogacnik	  If you say Y here, the support for writing user messages (i.e.
1924b4b67dSSamo Pogacnik	  console messages) via printk is available.
2024b4b67dSSamo Pogacnik
2124b4b67dSSamo Pogacnik	  The feature is useful to inline user messages with kernel
2224b4b67dSSamo Pogacnik	  messages.
2324b4b67dSSamo Pogacnik	  In order to use this feature, you should output user messages
2424b4b67dSSamo Pogacnik	  to /dev/ttyprintk or redirect console to this TTY.
2524b4b67dSSamo Pogacnik
2624b4b67dSSamo Pogacnik	  If unsure, say N.
2724b4b67dSSamo Pogacnik
28acef6660SPeter Korsgaardconfig TTY_PRINTK_LEVEL
29acef6660SPeter Korsgaard	depends on TTY_PRINTK
30acef6660SPeter Korsgaard	int "ttyprintk log level (1-7)"
31acef6660SPeter Korsgaard	range 1 7
32acef6660SPeter Korsgaard	default "6"
33acef6660SPeter Korsgaard	help
34acef6660SPeter Korsgaard	  Printk log level to use for ttyprintk messages.
35acef6660SPeter Korsgaard
361da177e4SLinus Torvaldsconfig PRINTER
371da177e4SLinus Torvalds	tristate "Parallel printer support"
381da177e4SLinus Torvalds	depends on PARPORT
391da177e4SLinus Torvalds	---help---
401da177e4SLinus Torvalds	  If you intend to attach a printer to the parallel port of your Linux
411da177e4SLinus Torvalds	  box (as opposed to using a serial printer; if the connector at the
421da177e4SLinus Torvalds	  printer has 9 or 25 holes ["female"], then it's serial), say Y.
431da177e4SLinus Torvalds	  Also read the Printing-HOWTO, available from
441da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>.
451da177e4SLinus Torvalds
461da177e4SLinus Torvalds	  It is possible to share one parallel port among several devices
471da177e4SLinus Torvalds	  (e.g. printer and ZIP drive) and it is safe to compile the
481da177e4SLinus Torvalds	  corresponding drivers into the kernel.
491da177e4SLinus Torvalds
501da177e4SLinus Torvalds	  To compile this driver as a module, choose M here and read
515fb94e9cSMauro Carvalho Chehab	  <file:Documentation/admin-guide/parport.rst>.  The module will be called lp.
521da177e4SLinus Torvalds
531da177e4SLinus Torvalds	  If you have several parallel ports, you can specify which ports to
541da177e4SLinus Torvalds	  use with the "lp" kernel command line option.  (Try "man bootparam"
551da177e4SLinus Torvalds	  or see the documentation of your boot loader (lilo or loadlin) about
561da177e4SLinus Torvalds	  how to pass options to the kernel at boot time.)  The syntax of the
571da177e4SLinus Torvalds	  "lp" command line option can be found in <file:drivers/char/lp.c>.
581da177e4SLinus Torvalds
591da177e4SLinus Torvalds	  If you have more than 8 printers, you need to increase the LP_NO
601da177e4SLinus Torvalds	  macro in lp.c and the PARPORT_MAX macro in parport.h.
611da177e4SLinus Torvalds
621da177e4SLinus Torvaldsconfig LP_CONSOLE
631da177e4SLinus Torvalds	bool "Support for console on line printer"
641da177e4SLinus Torvalds	depends on PRINTER
651da177e4SLinus Torvalds	---help---
661da177e4SLinus Torvalds	  If you want kernel messages to be printed out as they occur, you
671da177e4SLinus Torvalds	  can have a console on the printer. This option adds support for
681da177e4SLinus Torvalds	  doing that; to actually get it to happen you need to pass the
691da177e4SLinus Torvalds	  option "console=lp0" to the kernel at boot time.
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds	  If the printer is out of paper (or off, or unplugged, or too
721da177e4SLinus Torvalds	  busy..) the kernel will stall until the printer is ready again.
731da177e4SLinus Torvalds	  By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
741da177e4SLinus Torvalds	  can make the kernel continue when this happens,
751da177e4SLinus Torvalds	  but it'll lose the kernel messages.
761da177e4SLinus Torvalds
771da177e4SLinus Torvalds	  If unsure, say N.
781da177e4SLinus Torvalds
791da177e4SLinus Torvaldsconfig PPDEV
801da177e4SLinus Torvalds	tristate "Support for user-space parallel port device drivers"
811da177e4SLinus Torvalds	depends on PARPORT
821da177e4SLinus Torvalds	---help---
831da177e4SLinus Torvalds	  Saying Y to this adds support for /dev/parport device nodes.  This
841da177e4SLinus Torvalds	  is needed for programs that want portable access to the parallel
851da177e4SLinus Torvalds	  port, for instance deviceid (which displays Plug-and-Play device
861da177e4SLinus Torvalds	  IDs).
871da177e4SLinus Torvalds
881da177e4SLinus Torvalds	  This is the parallel port equivalent of SCSI generic support (sg).
891da177e4SLinus Torvalds	  It is safe to say N to this -- it is not needed for normal printing
901da177e4SLinus Torvalds	  or parallel port CD-ROM/disk support.
911da177e4SLinus Torvalds
921da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
931da177e4SLinus Torvalds	  module will be called ppdev.
941da177e4SLinus Torvalds
951da177e4SLinus Torvalds	  If unsure, say N.
961da177e4SLinus Torvalds
97bdcffc5aSGreg Kroah-Hartmansource "drivers/tty/hvc/Kconfig"
985427bcf5SMike Frysinger
9931610434SRusty Russellconfig VIRTIO_CONSOLE
1007721c494SChristian Borntraeger	tristate "Virtio console"
1014f73bc4dSJoe Millenbach	depends on VIRTIO && TTY
10231610434SRusty Russell	select HVC_DRIVER
1037721c494SChristian Borntraeger	help
104ecda85e7SJuergen Gross	  Virtio console for use with hypervisors.
1057721c494SChristian Borntraeger
106fb08bd27SAmit Shah	  Also serves as a general-purpose serial device for data
107fb08bd27SAmit Shah	  transfer between the guest and host.  Character devices at
108fb08bd27SAmit Shah	  /dev/vportNpn will be created when corresponding ports are
109fb08bd27SAmit Shah	  found, where N is the device number and n is the port number
110fb08bd27SAmit Shah	  within that device.  If specified by the host, a sysfs
111fb08bd27SAmit Shah	  attribute called 'name' will be populated with a name for
112fb08bd27SAmit Shah	  the port which can be used by udev scripts to create a
113fb08bd27SAmit Shah	  symlink to the device.
11431610434SRusty Russell
115fe9e8d53SSonny Raoconfig IBM_BSR
116fe9e8d53SSonny Rao	tristate "IBM POWER Barrier Synchronization Register support"
117fe9e8d53SSonny Rao	depends on PPC_PSERIES
118fe9e8d53SSonny Rao	help
119fe9e8d53SSonny Rao	  This devices exposes a hardware mechanism for fast synchronization
120fe9e8d53SSonny Rao	  of threads across a large system which avoids bouncing a cacheline
121fe9e8d53SSonny Rao	  between several cores on a system
122fe9e8d53SSonny Rao
12343a1dd9bSSuraj Jitindar Singhconfig POWERNV_OP_PANEL
12443a1dd9bSSuraj Jitindar Singh	tristate "IBM POWERNV Operator Panel Display support"
12543a1dd9bSSuraj Jitindar Singh	depends on PPC_POWERNV
12643a1dd9bSSuraj Jitindar Singh	default m
12743a1dd9bSSuraj Jitindar Singh	help
12843a1dd9bSSuraj Jitindar Singh	  If you say Y here, a special character device node, /dev/op_panel,
12943a1dd9bSSuraj Jitindar Singh	  will be created which exposes the operator panel display on IBM
13043a1dd9bSSuraj Jitindar Singh	  Power Systems machines with FSPs.
13143a1dd9bSSuraj Jitindar Singh
13243a1dd9bSSuraj Jitindar Singh	  If you don't require access to the operator panel display from user
13343a1dd9bSSuraj Jitindar Singh	  space, say N.
13443a1dd9bSSuraj Jitindar Singh
13543a1dd9bSSuraj Jitindar Singh	  If unsure, say M here to build it as a module called powernv-op-panel.
13643a1dd9bSSuraj Jitindar Singh
1371da177e4SLinus Torvaldssource "drivers/char/ipmi/Kconfig"
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvaldsconfig DS1620
1401da177e4SLinus Torvalds	tristate "NetWinder thermometer support"
1411da177e4SLinus Torvalds	depends on ARCH_NETWINDER
1421da177e4SLinus Torvalds	help
1431da177e4SLinus Torvalds	  Say Y here to include support for the thermal management hardware
1441da177e4SLinus Torvalds	  found in the NetWinder. This driver allows the user to control the
1451da177e4SLinus Torvalds	  temperature set points and to read the current temperature.
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvalds	  It is also possible to say M here to build it as a module (ds1620)
1481da177e4SLinus Torvalds	  It is recommended to be used on a NetWinder, but it is not a
1491da177e4SLinus Torvalds	  necessity.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldsconfig NWBUTTON
1521da177e4SLinus Torvalds	tristate "NetWinder Button"
1531da177e4SLinus Torvalds	depends on ARCH_NETWINDER
1541da177e4SLinus Torvalds	---help---
1551da177e4SLinus Torvalds	  If you say Y here and create a character device node /dev/nwbutton
1561da177e4SLinus Torvalds	  with major and minor numbers 10 and 158 ("man mknod"), then every
1571da177e4SLinus Torvalds	  time the orange button is pressed a number of times, the number of
1581da177e4SLinus Torvalds	  times the button was pressed will be written to that device.
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvalds	  This is most useful for applications, as yet unwritten, which
1611da177e4SLinus Torvalds	  perform actions based on how many times the button is pressed in a
1621da177e4SLinus Torvalds	  row.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds	  Do not hold the button down for too long, as the driver does not
1651da177e4SLinus Torvalds	  alter the behaviour of the hardware reset circuitry attached to the
1661da177e4SLinus Torvalds	  button; it will still execute a hard reset if the button is held
1671da177e4SLinus Torvalds	  down for longer than approximately five seconds.
1681da177e4SLinus Torvalds
1691da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1701da177e4SLinus Torvalds	  module will be called nwbutton.
1711da177e4SLinus Torvalds
1721da177e4SLinus Torvalds	  Most people will answer Y to this question and "Reboot Using Button"
1731da177e4SLinus Torvalds	  below to be able to initiate a system shutdown from the button.
1741da177e4SLinus Torvalds
1751da177e4SLinus Torvaldsconfig NWBUTTON_REBOOT
1761da177e4SLinus Torvalds	bool "Reboot Using Button"
1771da177e4SLinus Torvalds	depends on NWBUTTON
1781da177e4SLinus Torvalds	help
1791da177e4SLinus Torvalds	  If you say Y here, then you will be able to initiate a system
1801da177e4SLinus Torvalds	  shutdown and reboot by pressing the orange button a number of times.
1811da177e4SLinus Torvalds	  The number of presses to initiate the shutdown is two by default,
1821da177e4SLinus Torvalds	  but this can be altered by modifying the value of NUM_PRESSES_REBOOT
1831da177e4SLinus Torvalds	  in nwbutton.h and recompiling the driver or, if you compile the
1841da177e4SLinus Torvalds	  driver as a module, you can specify the number of presses at load
1851da177e4SLinus Torvalds	  time with "insmod button reboot_count=<something>".
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvaldsconfig NWFLASH
1881da177e4SLinus Torvalds	tristate "NetWinder flash support"
1891da177e4SLinus Torvalds	depends on ARCH_NETWINDER
1901da177e4SLinus Torvalds	---help---
1911da177e4SLinus Torvalds	  If you say Y here and create a character device /dev/flash with
1921da177e4SLinus Torvalds	  major 10 and minor 160 you can manipulate the flash ROM containing
1931da177e4SLinus Torvalds	  the NetWinder firmware. Be careful as accidentally overwriting the
1941da177e4SLinus Torvalds	  flash contents can render your computer unbootable. On no account
1951da177e4SLinus Torvalds	  allow random users access to this device. :-)
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1981da177e4SLinus Torvalds	  module will be called nwflash.
1991da177e4SLinus Torvalds
2001da177e4SLinus Torvalds	  If you're not sure, say N.
2011da177e4SLinus Torvalds
202844dd05fSMichael Bueschsource "drivers/char/hw_random/Kconfig"
203844dd05fSMichael Buesch
204c7500900SDavid Brownell#
205c7500900SDavid Brownell# These legacy RTC drivers just cause too many conflicts with the generic
206c7500900SDavid Brownell# RTC framework ... let's not even try to coexist any more.
207c7500900SDavid Brownell#
208c7500900SDavid Brownellif RTC_LIB=n
209c7500900SDavid Brownell
2101da177e4SLinus Torvaldsconfig RTC
211e6d2bb2bSDavid Brownell	tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
21205a0a344SArnd Bergmann	depends on ALPHA
2131da177e4SLinus Torvalds	---help---
2141da177e4SLinus Torvalds	  If you say Y here and create a character special file /dev/rtc with
2151da177e4SLinus Torvalds	  major number 10 and minor number 135 using mknod ("man mknod"), you
2161da177e4SLinus Torvalds	  will get access to the real time clock (or hardware clock) built
2171da177e4SLinus Torvalds	  into your computer.
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvalds	  Every PC has such a clock built in. It can be used to generate
2201da177e4SLinus Torvalds	  signals from as low as 1Hz up to 8192Hz, and can also be used
2211da177e4SLinus Torvalds	  as a 24 hour alarm. It reports status information via the file
2221da177e4SLinus Torvalds	  /proc/driver/rtc and its behaviour is set by various ioctls on
2231da177e4SLinus Torvalds	  /dev/rtc.
2241da177e4SLinus Torvalds
2251da177e4SLinus Torvalds	  If you run Linux on a multiprocessor machine and said Y to
2261da177e4SLinus Torvalds	  "Symmetric Multi Processing" above, you should say Y here to read
2271da177e4SLinus Torvalds	  and set the RTC in an SMP compatible fashion.
2281da177e4SLinus Torvalds
2291da177e4SLinus Torvalds	  If you think you have a use for such a device (such as periodic data
2304f4cfa6cSMauro Carvalho Chehab	  sampling), then say Y here, and read <file:Documentation/admin-guide/rtc.rst>
2311da177e4SLinus Torvalds	  for details.
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2341da177e4SLinus Torvalds	  module will be called rtc.
2351da177e4SLinus Torvalds
2362240598cSAl Viroconfig JS_RTC
2372240598cSAl Viro	tristate "Enhanced Real Time Clock Support"
2382240598cSAl Viro	depends on SPARC32 && PCI
2392240598cSAl Viro	---help---
2402240598cSAl Viro	  If you say Y here and create a character special file /dev/rtc with
2412240598cSAl Viro	  major number 10 and minor number 135 using mknod ("man mknod"), you
2422240598cSAl Viro	  will get access to the real time clock (or hardware clock) built
2432240598cSAl Viro	  into your computer.
2442240598cSAl Viro
2452240598cSAl Viro	  Every PC has such a clock built in. It can be used to generate
2462240598cSAl Viro	  signals from as low as 1Hz up to 8192Hz, and can also be used
2472240598cSAl Viro	  as a 24 hour alarm. It reports status information via the file
2482240598cSAl Viro	  /proc/driver/rtc and its behaviour is set by various ioctls on
2492240598cSAl Viro	  /dev/rtc.
2502240598cSAl Viro
2512240598cSAl Viro	  If you think you have a use for such a device (such as periodic data
2524f4cfa6cSMauro Carvalho Chehab	  sampling), then say Y here, and read <file:Documentation/admin-guide/rtc.rst>
2532240598cSAl Viro	  for details.
2542240598cSAl Viro
2552240598cSAl Viro	  To compile this driver as a module, choose M here: the
2562240598cSAl Viro	  module will be called js-rtc.
2572240598cSAl Viro
2581da177e4SLinus Torvaldsconfig EFI_RTC
2591da177e4SLinus Torvalds	bool "EFI Real Time Clock Services"
2601da177e4SLinus Torvalds	depends on IA64
2611da177e4SLinus Torvalds
262c7500900SDavid Brownellendif # RTC_LIB
263c7500900SDavid Brownell
2641da177e4SLinus Torvaldsconfig DTLK
2651da177e4SLinus Torvalds	tristate "Double Talk PC internal speech card support"
266eeca7a36SMartin Schwidefsky	depends on ISA
2671da177e4SLinus Torvalds	help
2681da177e4SLinus Torvalds	  This driver is for the DoubleTalk PC, a speech synthesizer
2691da177e4SLinus Torvalds	  manufactured by RC Systems (<http://www.rcsys.com/>).  It is also
2701da177e4SLinus Torvalds	  called the `internal DoubleTalk'.
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2731da177e4SLinus Torvalds	  module will be called dtlk.
2741da177e4SLinus Torvalds
275ef141a0bSStephen Neuendorfferconfig XILINX_HWICAP
276ef141a0bSStephen Neuendorffer	tristate "Xilinx HWICAP Support"
2776fa612b5SMichal Simek	depends on XILINX_VIRTEX || MICROBLAZE
278ef141a0bSStephen Neuendorffer	help
279ef141a0bSStephen Neuendorffer	  This option enables support for Xilinx Internal Configuration
280ef141a0bSStephen Neuendorffer	  Access Port (ICAP) driver.  The ICAP is used on Xilinx Virtex
281ef141a0bSStephen Neuendorffer	  FPGA platforms to partially reconfigure the FPGA at runtime.
282ef141a0bSStephen Neuendorffer
283ef141a0bSStephen Neuendorffer	  If unsure, say N.
284ef141a0bSStephen Neuendorffer
2851da177e4SLinus Torvaldsconfig R3964
2861da177e4SLinus Torvalds	tristate "Siemens R3964 line discipline"
287c7084edcSGreg Kroah-Hartman	depends on TTY && BROKEN
2881da177e4SLinus Torvalds	---help---
2891da177e4SLinus Torvalds	  This driver allows synchronous communication with devices using the
2901da177e4SLinus Torvalds	  Siemens R3964 packet protocol. Unless you are dealing with special
2911da177e4SLinus Torvalds	  hardware like PLCs, you are unlikely to need this.
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2941da177e4SLinus Torvalds	  module will be called n_r3964.
2951da177e4SLinus Torvalds
2961da177e4SLinus Torvalds	  If unsure, say N.
2971da177e4SLinus Torvalds
2981da177e4SLinus Torvaldsconfig APPLICOM
2991da177e4SLinus Torvalds	tristate "Applicom intelligent fieldbus card support"
3001da177e4SLinus Torvalds	depends on PCI
3011da177e4SLinus Torvalds	---help---
3021da177e4SLinus Torvalds	  This driver provides the kernel-side support for the intelligent
3031da177e4SLinus Torvalds	  fieldbus cards made by Applicom International. More information
3041da177e4SLinus Torvalds	  about these cards can be found on the WWW at the address
3051da177e4SLinus Torvalds	  <http://www.applicom-int.com/>, or by email from David Woodhouse
3061da177e4SLinus Torvalds	  <dwmw2@infradead.org>.
3071da177e4SLinus Torvalds
3081da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3091da177e4SLinus Torvalds	  module will be called applicom.
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvalds	  If unsure, say N.
3121da177e4SLinus Torvalds
3131da177e4SLinus Torvaldsconfig SONYPI
31465929215SGreg Kroah-Hartman	tristate "Sony Vaio Programmable I/O Control Device support"
31557dcf020SJean Delvare	depends on X86_32 && PCI && INPUT
3161da177e4SLinus Torvalds	---help---
3171da177e4SLinus Torvalds	  This driver enables access to the Sony Programmable I/O Control
3181da177e4SLinus Torvalds	  Device which can be found in many (all ?) Sony Vaio laptops.
3191da177e4SLinus Torvalds
3201da177e4SLinus Torvalds	  If you have one of those laptops, read
3219e1cbedeSMauro Carvalho Chehab	  <file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here.
3221da177e4SLinus Torvalds
3231da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3241da177e4SLinus Torvalds	  module will be called sonypi.
3251da177e4SLinus Torvalds
32609762516SYoichi Yuasaconfig GPIO_TB0219
32709762516SYoichi Yuasa	tristate "TANBAC TB0219 GPIO support"
328bef1f402SRobert P. J. Day	depends on TANBAC_TB022X
329584e1236SYoichi Yuasa	select GPIO_VR41XX
3301da177e4SLinus Torvalds
3311da177e4SLinus Torvaldssource "drivers/char/pcmcia/Kconfig"
3321da177e4SLinus Torvalds
3331da177e4SLinus Torvaldsconfig MWAVE
3341da177e4SLinus Torvalds	tristate "ACP Modem (Mwave) support"
3354f73bc4dSJoe Millenbach	depends on X86 && TTY
3361da177e4SLinus Torvalds	select SERIAL_8250
3371da177e4SLinus Torvalds	---help---
3381da177e4SLinus Torvalds	  The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
3391da177e4SLinus Torvalds	  kernel driver and a user level application. Together these components
3401da177e4SLinus Torvalds	  support direct attachment to public switched telephone networks (PSTNs)
3411da177e4SLinus Torvalds	  and support selected world wide countries.
3421da177e4SLinus Torvalds
3431da177e4SLinus Torvalds	  This version of the ACP Modem driver supports the IBM Thinkpad 600E,
3441da177e4SLinus Torvalds	  600, and 770 that include on board ACP modem hardware.
3451da177e4SLinus Torvalds
3461da177e4SLinus Torvalds	  The modem also supports the standard communications port interface
3471da177e4SLinus Torvalds	  (ttySx) and is compatible with the Hayes AT Command Set.
3481da177e4SLinus Torvalds
3491da177e4SLinus Torvalds	  The user level application needed to use this driver can be found at
3501da177e4SLinus Torvalds	  the IBM Linux Technology Center (LTC) web site:
3511da177e4SLinus Torvalds	  <http://www.ibm.com/linux/ltc/>.
3521da177e4SLinus Torvalds
3531da177e4SLinus Torvalds	  If you own one of the above IBM Thinkpads which has the Mwave chipset
3541da177e4SLinus Torvalds	  in it, say Y.
3551da177e4SLinus Torvalds
3561da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
3571da177e4SLinus Torvalds	  module will be called mwave.
3581da177e4SLinus Torvalds
3591da177e4SLinus Torvaldsconfig SCx200_GPIO
3601da177e4SLinus Torvalds	tristate "NatSemi SCx200 GPIO Support"
3611da177e4SLinus Torvalds	depends on SCx200
3627a8e2a5eSJim Cromie	select NSC_GPIO
3631da177e4SLinus Torvalds	help
3641da177e4SLinus Torvalds	  Give userspace access to the GPIO pins on the National
3651da177e4SLinus Torvalds	  Semiconductor SCx200 processors.
3661da177e4SLinus Torvalds
3671da177e4SLinus Torvalds	  If compiled as a module, it will be called scx200_gpio.
3681da177e4SLinus Torvalds
3697a8e2a5eSJim Cromieconfig PC8736x_GPIO
3707a8e2a5eSJim Cromie	tristate "NatSemi PC8736x GPIO Support"
3713369465eSAl Viro	depends on X86_32 && !UML
3727a8e2a5eSJim Cromie	default SCx200_GPIO	# mostly N
3737a8e2a5eSJim Cromie	select NSC_GPIO		# needed for support routines
3747a8e2a5eSJim Cromie	help
3757a8e2a5eSJim Cromie	  Give userspace access to the GPIO pins on the National
3767a8e2a5eSJim Cromie	  Semiconductor PC-8736x (x=[03456]) SuperIO chip.  The chip
3777a8e2a5eSJim Cromie	  has multiple functional units, inc several managed by
3787a8e2a5eSJim Cromie	  hwmon/pc87360 driver.  Tested with PC-87366
3797a8e2a5eSJim Cromie
3807a8e2a5eSJim Cromie	  If compiled as a module, it will be called pc8736x_gpio.
3817a8e2a5eSJim Cromie
3827a8e2a5eSJim Cromieconfig NSC_GPIO
3837a8e2a5eSJim Cromie	tristate "NatSemi Base GPIO Support"
384699352c3SDave Jones	depends on X86_32
3857a8e2a5eSJim Cromie	# selected by SCx200_GPIO and PC8736x_GPIO
3867a8e2a5eSJim Cromie	# what about 2 selectors differing: m != y
3877a8e2a5eSJim Cromie	help
3887a8e2a5eSJim Cromie	  Common support used (and needed) by scx200_gpio and
3897a8e2a5eSJim Cromie	  pc8736x_gpio drivers.  If those drivers are built as
3907a8e2a5eSJim Cromie	  modules, this one will be too, named nsc_gpio
3917a8e2a5eSJim Cromie
392*8d7dc56eSRandy Dunlapconfig DEVMEM
393*8d7dc56eSRandy Dunlap	bool "/dev/mem virtual device support"
394*8d7dc56eSRandy Dunlap	default y
395*8d7dc56eSRandy Dunlap	help
396*8d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/mem device.
397*8d7dc56eSRandy Dunlap	  The /dev/mem device is used to access areas of physical
398*8d7dc56eSRandy Dunlap	  memory.
399*8d7dc56eSRandy Dunlap	  When in doubt, say "Y".
400*8d7dc56eSRandy Dunlap
401*8d7dc56eSRandy Dunlapconfig DEVKMEM
402*8d7dc56eSRandy Dunlap	bool "/dev/kmem virtual device support"
403*8d7dc56eSRandy Dunlap	# On arm64, VMALLOC_START < PAGE_OFFSET, which confuses kmem read/write
404*8d7dc56eSRandy Dunlap	depends on !ARM64
405*8d7dc56eSRandy Dunlap	help
406*8d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/kmem device. The
407*8d7dc56eSRandy Dunlap	  /dev/kmem device is rarely used, but can be used for certain
408*8d7dc56eSRandy Dunlap	  kind of kernel debugging operations.
409*8d7dc56eSRandy Dunlap	  When in doubt, say "N".
410*8d7dc56eSRandy Dunlap
411*8d7dc56eSRandy Dunlapconfig NVRAM
412*8d7dc56eSRandy Dunlap	tristate "/dev/nvram support"
413*8d7dc56eSRandy Dunlap	depends on X86 || HAVE_ARCH_NVRAM_OPS
414*8d7dc56eSRandy Dunlap	default M68K || PPC
415*8d7dc56eSRandy Dunlap	---help---
416*8d7dc56eSRandy Dunlap	  If you say Y here and create a character special file /dev/nvram
417*8d7dc56eSRandy Dunlap	  with major number 10 and minor number 144 using mknod ("man mknod"),
418*8d7dc56eSRandy Dunlap	  you get read and write access to the non-volatile memory.
419*8d7dc56eSRandy Dunlap
420*8d7dc56eSRandy Dunlap	  /dev/nvram may be used to view settings in NVRAM or to change them
421*8d7dc56eSRandy Dunlap	  (with some utility). It could also be used to frequently
422*8d7dc56eSRandy Dunlap	  save a few bits of very important data that may not be lost over
423*8d7dc56eSRandy Dunlap	  power-off and for which writing to disk is too insecure. Note
424*8d7dc56eSRandy Dunlap	  however that most NVRAM space in a PC belongs to the BIOS and you
425*8d7dc56eSRandy Dunlap	  should NEVER idly tamper with it. See Ralf Brown's interrupt list
426*8d7dc56eSRandy Dunlap	  for a guide to the use of CMOS bytes by your BIOS.
427*8d7dc56eSRandy Dunlap
428*8d7dc56eSRandy Dunlap	  This memory is conventionally called "NVRAM" on PowerPC machines,
429*8d7dc56eSRandy Dunlap	  "CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes.
430*8d7dc56eSRandy Dunlap
431*8d7dc56eSRandy Dunlap	  To compile this driver as a module, choose M here: the
432*8d7dc56eSRandy Dunlap	  module will be called nvram.
433*8d7dc56eSRandy Dunlap
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
455*8d7dc56eSRandy Dunlapconfig DEVPORT
456*8d7dc56eSRandy Dunlap	bool "/dev/port character device"
457*8d7dc56eSRandy Dunlap	depends on ISA || PCI
458*8d7dc56eSRandy Dunlap	default y
459*8d7dc56eSRandy Dunlap	help
460*8d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/port device. The /dev/port
461*8d7dc56eSRandy Dunlap	  device is similar to /dev/mem, but for I/O ports.
462*8d7dc56eSRandy Dunlap
4631da177e4SLinus Torvaldsconfig HPET
4641da177e4SLinus Torvalds	bool "HPET - High Precision Event Timer" if (X86 || IA64)
4651da177e4SLinus Torvalds	default n
4661da177e4SLinus Torvalds	depends on ACPI
4671da177e4SLinus Torvalds	help
4681da177e4SLinus Torvalds	  If you say Y here, you will have a miscdevice named "/dev/hpet/".  Each
4691da177e4SLinus Torvalds	  open selects one of the timers supported by the HPET.  The timers are
4703cb2fcccSMatt LaPlante	  non-periodic and/or periodic.
4711da177e4SLinus Torvalds
4721da177e4SLinus Torvaldsconfig HPET_MMAP
4731da177e4SLinus Torvalds	bool "Allow mmap of HPET"
4741da177e4SLinus Torvalds	default y
4751da177e4SLinus Torvalds	depends on HPET
4761da177e4SLinus Torvalds	help
4771da177e4SLinus Torvalds	  If you say Y here, user applications will be able to mmap
4781da177e4SLinus Torvalds	  the HPET registers.
4791da177e4SLinus Torvalds
4803d035f58SPrarit Bhargavaconfig HPET_MMAP_DEFAULT
4813d035f58SPrarit Bhargava	bool "Enable HPET MMAP access by default"
4823d035f58SPrarit Bhargava	default y
4833d035f58SPrarit Bhargava	depends on HPET_MMAP
4843d035f58SPrarit Bhargava	help
4851da177e4SLinus Torvalds	  In some hardware implementations, the page containing HPET
4861da177e4SLinus Torvalds	  registers may also contain other things that shouldn't be
4873d035f58SPrarit Bhargava	  exposed to the user.  This option selects the default (if
4883d035f58SPrarit Bhargava	  kernel parameter hpet_mmap is not set) user access to the
4893d035f58SPrarit Bhargava	  registers for applications that require it.
4901da177e4SLinus Torvalds
4911da177e4SLinus Torvaldsconfig HANGCHECK_TIMER
4921da177e4SLinus Torvalds	tristate "Hangcheck timer"
493abf3ea1bSMartin Schwidefsky	depends on X86 || IA64 || PPC64 || S390
4941da177e4SLinus Torvalds	help
4951da177e4SLinus Torvalds	  The hangcheck-timer module detects when the system has gone
4961da177e4SLinus Torvalds	  out to lunch past a certain margin.  It can reboot the system
4971da177e4SLinus Torvalds	  or merely print a warning.
4981da177e4SLinus Torvalds
499fbd8ae10SDimitri Sivanichconfig UV_MMTIMER
500fbd8ae10SDimitri Sivanich	tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
501fbd8ae10SDimitri Sivanich	depends on X86_UV
502fbd8ae10SDimitri Sivanich	default m
503fbd8ae10SDimitri Sivanich	help
504fbd8ae10SDimitri Sivanich	  The uv_mmtimer device allows direct userspace access to the
505fbd8ae10SDimitri Sivanich	  UV system timer.
506fbd8ae10SDimitri Sivanich
5071da177e4SLinus Torvaldssource "drivers/char/tpm/Kconfig"
5081da177e4SLinus Torvalds
5091a80ba88SMark Grossconfig TELCLOCK
51003154a27SMark Gross	tristate "Telecom clock driver for ATCA SBC"
51165929215SGreg Kroah-Hartman	depends on X86
5121a80ba88SMark Gross	default n
5131a80ba88SMark Gross	help
51403154a27SMark Gross	  The telecom clock device is specific to the MPCBL0010 and MPCBL0050
51503154a27SMark Gross	  ATCA computers and allows direct userspace access to the
51603154a27SMark Gross	  configuration of the telecom clock configuration settings.  This
51703154a27SMark Gross	  device is used for hardware synchronization across the ATCA backplane
51803154a27SMark Gross	  fabric.  Upon loading, the driver exports a sysfs directory,
51903154a27SMark Gross	  /sys/devices/platform/telco_clock, with a number of files for
52003154a27SMark Gross	  controlling the behavior of this hardware.
5211a80ba88SMark Gross
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"
54239a8883aSTheodore Ts'o	depends on X86 || S390 || PPC
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