xref: /linux/drivers/char/Kconfig (revision 9e1b28b773881963150a7e3a11d4d00b9df0129a)
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
1024b4b67dSSamo Pogacnikconfig TTY_PRINTK
11b24313a8STakashi Iwai	tristate "TTY driver to output user messages via printk"
124f73bc4dSJoe Millenbach	depends on EXPERT && TTY
1324b4b67dSSamo Pogacnik	default n
14a7f7f624SMasahiro Yamada	help
1524b4b67dSSamo Pogacnik	  If you say Y here, the support for writing user messages (i.e.
1624b4b67dSSamo Pogacnik	  console messages) via printk is available.
1724b4b67dSSamo Pogacnik
1824b4b67dSSamo Pogacnik	  The feature is useful to inline user messages with kernel
1924b4b67dSSamo Pogacnik	  messages.
2024b4b67dSSamo Pogacnik	  In order to use this feature, you should output user messages
2124b4b67dSSamo Pogacnik	  to /dev/ttyprintk or redirect console to this TTY.
2224b4b67dSSamo Pogacnik
2324b4b67dSSamo Pogacnik	  If unsure, say N.
2424b4b67dSSamo Pogacnik
25acef6660SPeter Korsgaardconfig TTY_PRINTK_LEVEL
26acef6660SPeter Korsgaard	depends on TTY_PRINTK
27acef6660SPeter Korsgaard	int "ttyprintk log level (1-7)"
28acef6660SPeter Korsgaard	range 1 7
29acef6660SPeter Korsgaard	default "6"
30acef6660SPeter Korsgaard	help
31acef6660SPeter Korsgaard	  Printk log level to use for ttyprintk messages.
32acef6660SPeter Korsgaard
331da177e4SLinus Torvaldsconfig PRINTER
341da177e4SLinus Torvalds	tristate "Parallel printer support"
351da177e4SLinus Torvalds	depends on PARPORT
36a7f7f624SMasahiro Yamada	help
371da177e4SLinus Torvalds	  If you intend to attach a printer to the parallel port of your Linux
381da177e4SLinus Torvalds	  box (as opposed to using a serial printer; if the connector at the
391da177e4SLinus Torvalds	  printer has 9 or 25 holes ["female"], then it's serial), say Y.
401da177e4SLinus Torvalds	  Also read the Printing-HOWTO, available from
414e74eeb2SAlexander A. Klimov	  <https://www.tldp.org/docs.html#howto>.
421da177e4SLinus Torvalds
431da177e4SLinus Torvalds	  It is possible to share one parallel port among several devices
441da177e4SLinus Torvalds	  (e.g. printer and ZIP drive) and it is safe to compile the
451da177e4SLinus Torvalds	  corresponding drivers into the kernel.
461da177e4SLinus Torvalds
471da177e4SLinus Torvalds	  To compile this driver as a module, choose M here and read
485fb94e9cSMauro Carvalho Chehab	  <file:Documentation/admin-guide/parport.rst>.  The module will be called lp.
491da177e4SLinus Torvalds
501da177e4SLinus Torvalds	  If you have several parallel ports, you can specify which ports to
511da177e4SLinus Torvalds	  use with the "lp" kernel command line option.  (Try "man bootparam"
521da177e4SLinus Torvalds	  or see the documentation of your boot loader (lilo or loadlin) about
531da177e4SLinus Torvalds	  how to pass options to the kernel at boot time.)  The syntax of the
541da177e4SLinus Torvalds	  "lp" command line option can be found in <file:drivers/char/lp.c>.
551da177e4SLinus Torvalds
561da177e4SLinus Torvalds	  If you have more than 8 printers, you need to increase the LP_NO
571da177e4SLinus Torvalds	  macro in lp.c and the PARPORT_MAX macro in parport.h.
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsconfig LP_CONSOLE
601da177e4SLinus Torvalds	bool "Support for console on line printer"
611da177e4SLinus Torvalds	depends on PRINTER
62a7f7f624SMasahiro Yamada	help
631da177e4SLinus Torvalds	  If you want kernel messages to be printed out as they occur, you
641da177e4SLinus Torvalds	  can have a console on the printer. This option adds support for
651da177e4SLinus Torvalds	  doing that; to actually get it to happen you need to pass the
661da177e4SLinus Torvalds	  option "console=lp0" to the kernel at boot time.
671da177e4SLinus Torvalds
681da177e4SLinus Torvalds	  If the printer is out of paper (or off, or unplugged, or too
691da177e4SLinus Torvalds	  busy..) the kernel will stall until the printer is ready again.
701da177e4SLinus Torvalds	  By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
711da177e4SLinus Torvalds	  can make the kernel continue when this happens,
721da177e4SLinus Torvalds	  but it'll lose the kernel messages.
731da177e4SLinus Torvalds
741da177e4SLinus Torvalds	  If unsure, say N.
751da177e4SLinus Torvalds
761da177e4SLinus Torvaldsconfig PPDEV
771da177e4SLinus Torvalds	tristate "Support for user-space parallel port device drivers"
781da177e4SLinus Torvalds	depends on PARPORT
79a7f7f624SMasahiro Yamada	help
801da177e4SLinus Torvalds	  Saying Y to this adds support for /dev/parport device nodes.  This
811da177e4SLinus Torvalds	  is needed for programs that want portable access to the parallel
821da177e4SLinus Torvalds	  port, for instance deviceid (which displays Plug-and-Play device
831da177e4SLinus Torvalds	  IDs).
841da177e4SLinus Torvalds
851da177e4SLinus Torvalds	  This is the parallel port equivalent of SCSI generic support (sg).
861da177e4SLinus Torvalds	  It is safe to say N to this -- it is not needed for normal printing
871da177e4SLinus Torvalds	  or parallel port CD-ROM/disk support.
881da177e4SLinus Torvalds
891da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
901da177e4SLinus Torvalds	  module will be called ppdev.
911da177e4SLinus Torvalds
921da177e4SLinus Torvalds	  If unsure, say N.
931da177e4SLinus Torvalds
9431610434SRusty Russellconfig VIRTIO_CONSOLE
957721c494SChristian Borntraeger	tristate "Virtio console"
969f30eb29SMichal Suchanek	depends on TTY
9731610434SRusty Russell	select HVC_DRIVER
989f30eb29SMichal Suchanek	select VIRTIO
997721c494SChristian Borntraeger	help
100ecda85e7SJuergen Gross	  Virtio console for use with hypervisors.
1017721c494SChristian Borntraeger
102fb08bd27SAmit Shah	  Also serves as a general-purpose serial device for data
103fb08bd27SAmit Shah	  transfer between the guest and host.  Character devices at
104fb08bd27SAmit Shah	  /dev/vportNpn will be created when corresponding ports are
105fb08bd27SAmit Shah	  found, where N is the device number and n is the port number
106fb08bd27SAmit Shah	  within that device.  If specified by the host, a sysfs
107fb08bd27SAmit Shah	  attribute called 'name' will be populated with a name for
108fb08bd27SAmit Shah	  the port which can be used by udev scripts to create a
109fb08bd27SAmit Shah	  symlink to the device.
11031610434SRusty Russell
111fe9e8d53SSonny Raoconfig IBM_BSR
112fe9e8d53SSonny Rao	tristate "IBM POWER Barrier Synchronization Register support"
113fe9e8d53SSonny Rao	depends on PPC_PSERIES
114fe9e8d53SSonny Rao	help
115fe9e8d53SSonny Rao	  This devices exposes a hardware mechanism for fast synchronization
116fe9e8d53SSonny Rao	  of threads across a large system which avoids bouncing a cacheline
117fe9e8d53SSonny Rao	  between several cores on a system
118fe9e8d53SSonny Rao
11943a1dd9bSSuraj Jitindar Singhconfig POWERNV_OP_PANEL
12043a1dd9bSSuraj Jitindar Singh	tristate "IBM POWERNV Operator Panel Display support"
12143a1dd9bSSuraj Jitindar Singh	depends on PPC_POWERNV
12243a1dd9bSSuraj Jitindar Singh	default m
12343a1dd9bSSuraj Jitindar Singh	help
12443a1dd9bSSuraj Jitindar Singh	  If you say Y here, a special character device node, /dev/op_panel,
12543a1dd9bSSuraj Jitindar Singh	  will be created which exposes the operator panel display on IBM
12643a1dd9bSSuraj Jitindar Singh	  Power Systems machines with FSPs.
12743a1dd9bSSuraj Jitindar Singh
12843a1dd9bSSuraj Jitindar Singh	  If you don't require access to the operator panel display from user
12943a1dd9bSSuraj Jitindar Singh	  space, say N.
13043a1dd9bSSuraj Jitindar Singh
13143a1dd9bSSuraj Jitindar Singh	  If unsure, say M here to build it as a module called powernv-op-panel.
13243a1dd9bSSuraj Jitindar Singh
1331da177e4SLinus Torvaldssource "drivers/char/ipmi/Kconfig"
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig DS1620
1361da177e4SLinus Torvalds	tristate "NetWinder thermometer support"
1371da177e4SLinus Torvalds	depends on ARCH_NETWINDER
1381da177e4SLinus Torvalds	help
1391da177e4SLinus Torvalds	  Say Y here to include support for the thermal management hardware
1401da177e4SLinus Torvalds	  found in the NetWinder. This driver allows the user to control the
1411da177e4SLinus Torvalds	  temperature set points and to read the current temperature.
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvalds	  It is also possible to say M here to build it as a module (ds1620)
1441da177e4SLinus Torvalds	  It is recommended to be used on a NetWinder, but it is not a
1451da177e4SLinus Torvalds	  necessity.
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvaldsconfig NWBUTTON
1481da177e4SLinus Torvalds	tristate "NetWinder Button"
1491da177e4SLinus Torvalds	depends on ARCH_NETWINDER
150a7f7f624SMasahiro Yamada	help
1511da177e4SLinus Torvalds	  If you say Y here and create a character device node /dev/nwbutton
1521da177e4SLinus Torvalds	  with major and minor numbers 10 and 158 ("man mknod"), then every
1531da177e4SLinus Torvalds	  time the orange button is pressed a number of times, the number of
1541da177e4SLinus Torvalds	  times the button was pressed will be written to that device.
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvalds	  This is most useful for applications, as yet unwritten, which
1571da177e4SLinus Torvalds	  perform actions based on how many times the button is pressed in a
1581da177e4SLinus Torvalds	  row.
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvalds	  Do not hold the button down for too long, as the driver does not
1611da177e4SLinus Torvalds	  alter the behaviour of the hardware reset circuitry attached to the
1621da177e4SLinus Torvalds	  button; it will still execute a hard reset if the button is held
1631da177e4SLinus Torvalds	  down for longer than approximately five seconds.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1661da177e4SLinus Torvalds	  module will be called nwbutton.
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvalds	  Most people will answer Y to this question and "Reboot Using Button"
1691da177e4SLinus Torvalds	  below to be able to initiate a system shutdown from the button.
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvaldsconfig NWBUTTON_REBOOT
1721da177e4SLinus Torvalds	bool "Reboot Using Button"
1731da177e4SLinus Torvalds	depends on NWBUTTON
1741da177e4SLinus Torvalds	help
1751da177e4SLinus Torvalds	  If you say Y here, then you will be able to initiate a system
1761da177e4SLinus Torvalds	  shutdown and reboot by pressing the orange button a number of times.
1771da177e4SLinus Torvalds	  The number of presses to initiate the shutdown is two by default,
1781da177e4SLinus Torvalds	  but this can be altered by modifying the value of NUM_PRESSES_REBOOT
1791da177e4SLinus Torvalds	  in nwbutton.h and recompiling the driver or, if you compile the
1801da177e4SLinus Torvalds	  driver as a module, you can specify the number of presses at load
1811da177e4SLinus Torvalds	  time with "insmod button reboot_count=<something>".
1821da177e4SLinus Torvalds
1831da177e4SLinus Torvaldsconfig NWFLASH
1841da177e4SLinus Torvalds	tristate "NetWinder flash support"
1851da177e4SLinus Torvalds	depends on ARCH_NETWINDER
186a7f7f624SMasahiro Yamada	help
1871da177e4SLinus Torvalds	  If you say Y here and create a character device /dev/flash with
1881da177e4SLinus Torvalds	  major 10 and minor 160 you can manipulate the flash ROM containing
1891da177e4SLinus Torvalds	  the NetWinder firmware. Be careful as accidentally overwriting the
1901da177e4SLinus Torvalds	  flash contents can render your computer unbootable. On no account
1911da177e4SLinus Torvalds	  allow random users access to this device. :-)
1921da177e4SLinus Torvalds
1931da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1941da177e4SLinus Torvalds	  module will be called nwflash.
1951da177e4SLinus Torvalds
1961da177e4SLinus Torvalds	  If you're not sure, say N.
1971da177e4SLinus Torvalds
198844dd05fSMichael Bueschsource "drivers/char/hw_random/Kconfig"
199844dd05fSMichael Buesch
2001da177e4SLinus Torvaldsconfig DTLK
2011da177e4SLinus Torvalds	tristate "Double Talk PC internal speech card support"
202eeca7a36SMartin Schwidefsky	depends on ISA
2031da177e4SLinus Torvalds	help
2041da177e4SLinus Torvalds	  This driver is for the DoubleTalk PC, a speech synthesizer
2054e74eeb2SAlexander A. Klimov	  manufactured by RC Systems (<https://www.rcsys.com/>).  It is also
2061da177e4SLinus Torvalds	  called the `internal DoubleTalk'.
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2091da177e4SLinus Torvalds	  module will be called dtlk.
2101da177e4SLinus Torvalds
211ef141a0bSStephen Neuendorfferconfig XILINX_HWICAP
212ef141a0bSStephen Neuendorffer	tristate "Xilinx HWICAP Support"
2137ade8495SMichal Simek	depends on MICROBLAZE
214ef141a0bSStephen Neuendorffer	help
215ef141a0bSStephen Neuendorffer	  This option enables support for Xilinx Internal Configuration
216ef141a0bSStephen Neuendorffer	  Access Port (ICAP) driver.  The ICAP is used on Xilinx Virtex
217ef141a0bSStephen Neuendorffer	  FPGA platforms to partially reconfigure the FPGA at runtime.
218ef141a0bSStephen Neuendorffer
219ef141a0bSStephen Neuendorffer	  If unsure, say N.
220ef141a0bSStephen Neuendorffer
2211da177e4SLinus Torvaldsconfig APPLICOM
2221da177e4SLinus Torvalds	tristate "Applicom intelligent fieldbus card support"
2231da177e4SLinus Torvalds	depends on PCI
224a7f7f624SMasahiro Yamada	help
2251da177e4SLinus Torvalds	  This driver provides the kernel-side support for the intelligent
2261da177e4SLinus Torvalds	  fieldbus cards made by Applicom International. More information
2271da177e4SLinus Torvalds	  about these cards can be found on the WWW at the address
2284e74eeb2SAlexander A. Klimov	  <https://www.applicom-int.com/>, or by email from David Woodhouse
2291da177e4SLinus Torvalds	  <dwmw2@infradead.org>.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2321da177e4SLinus Torvalds	  module will be called applicom.
2331da177e4SLinus Torvalds
2341da177e4SLinus Torvalds	  If unsure, say N.
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvaldsconfig SONYPI
23765929215SGreg Kroah-Hartman	tristate "Sony Vaio Programmable I/O Control Device support"
23857dcf020SJean Delvare	depends on X86_32 && PCI && INPUT
239a7f7f624SMasahiro Yamada	help
2401da177e4SLinus Torvalds	  This driver enables access to the Sony Programmable I/O Control
2411da177e4SLinus Torvalds	  Device which can be found in many (all ?) Sony Vaio laptops.
2421da177e4SLinus Torvalds
2431da177e4SLinus Torvalds	  If you have one of those laptops, read
2449e1cbedeSMauro Carvalho Chehab	  <file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here.
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2471da177e4SLinus Torvalds	  module will be called sonypi.
2481da177e4SLinus Torvalds
24909762516SYoichi Yuasaconfig GPIO_TB0219
25009762516SYoichi Yuasa	tristate "TANBAC TB0219 GPIO support"
251bef1f402SRobert P. J. Day	depends on TANBAC_TB022X
252584e1236SYoichi Yuasa	select GPIO_VR41XX
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvaldssource "drivers/char/pcmcia/Kconfig"
2551da177e4SLinus Torvalds
2561da177e4SLinus Torvaldsconfig MWAVE
2571da177e4SLinus Torvalds	tristate "ACP Modem (Mwave) support"
2584f73bc4dSJoe Millenbach	depends on X86 && TTY
2591da177e4SLinus Torvalds	select SERIAL_8250
260a7f7f624SMasahiro Yamada	help
2611da177e4SLinus Torvalds	  The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
2621da177e4SLinus Torvalds	  kernel driver and a user level application. Together these components
2631da177e4SLinus Torvalds	  support direct attachment to public switched telephone networks (PSTNs)
2641da177e4SLinus Torvalds	  and support selected world wide countries.
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvalds	  This version of the ACP Modem driver supports the IBM Thinkpad 600E,
2671da177e4SLinus Torvalds	  600, and 770 that include on board ACP modem hardware.
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvalds	  The modem also supports the standard communications port interface
2701da177e4SLinus Torvalds	  (ttySx) and is compatible with the Hayes AT Command Set.
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvalds	  The user level application needed to use this driver can be found at
2731da177e4SLinus Torvalds	  the IBM Linux Technology Center (LTC) web site:
2741da177e4SLinus Torvalds	  <http://www.ibm.com/linux/ltc/>.
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvalds	  If you own one of the above IBM Thinkpads which has the Mwave chipset
2771da177e4SLinus Torvalds	  in it, say Y.
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2801da177e4SLinus Torvalds	  module will be called mwave.
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldsconfig SCx200_GPIO
2831da177e4SLinus Torvalds	tristate "NatSemi SCx200 GPIO Support"
2841da177e4SLinus Torvalds	depends on SCx200
2857a8e2a5eSJim Cromie	select NSC_GPIO
2861da177e4SLinus Torvalds	help
2871da177e4SLinus Torvalds	  Give userspace access to the GPIO pins on the National
2881da177e4SLinus Torvalds	  Semiconductor SCx200 processors.
2891da177e4SLinus Torvalds
2901da177e4SLinus Torvalds	  If compiled as a module, it will be called scx200_gpio.
2911da177e4SLinus Torvalds
2927a8e2a5eSJim Cromieconfig PC8736x_GPIO
2937a8e2a5eSJim Cromie	tristate "NatSemi PC8736x GPIO Support"
2943369465eSAl Viro	depends on X86_32 && !UML
2957a8e2a5eSJim Cromie	default SCx200_GPIO	# mostly N
2967a8e2a5eSJim Cromie	select NSC_GPIO		# needed for support routines
2977a8e2a5eSJim Cromie	help
2987a8e2a5eSJim Cromie	  Give userspace access to the GPIO pins on the National
2997a8e2a5eSJim Cromie	  Semiconductor PC-8736x (x=[03456]) SuperIO chip.  The chip
3007a8e2a5eSJim Cromie	  has multiple functional units, inc several managed by
3017a8e2a5eSJim Cromie	  hwmon/pc87360 driver.  Tested with PC-87366
3027a8e2a5eSJim Cromie
3037a8e2a5eSJim Cromie	  If compiled as a module, it will be called pc8736x_gpio.
3047a8e2a5eSJim Cromie
3057a8e2a5eSJim Cromieconfig NSC_GPIO
3067a8e2a5eSJim Cromie	tristate "NatSemi Base GPIO Support"
307699352c3SDave Jones	depends on X86_32
3087a8e2a5eSJim Cromie	# selected by SCx200_GPIO and PC8736x_GPIO
3097a8e2a5eSJim Cromie	# what about 2 selectors differing: m != y
3107a8e2a5eSJim Cromie	help
3117a8e2a5eSJim Cromie	  Common support used (and needed) by scx200_gpio and
3127a8e2a5eSJim Cromie	  pc8736x_gpio drivers.  If those drivers are built as
3137a8e2a5eSJim Cromie	  modules, this one will be too, named nsc_gpio
3147a8e2a5eSJim Cromie
3158d7dc56eSRandy Dunlapconfig DEVMEM
3168d7dc56eSRandy Dunlap	bool "/dev/mem virtual device support"
3178d7dc56eSRandy Dunlap	default y
3188d7dc56eSRandy Dunlap	help
3198d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/mem device.
3208d7dc56eSRandy Dunlap	  The /dev/mem device is used to access areas of physical
3218d7dc56eSRandy Dunlap	  memory.
3228d7dc56eSRandy Dunlap	  When in doubt, say "Y".
3238d7dc56eSRandy Dunlap
3248d7dc56eSRandy Dunlapconfig NVRAM
3258d7dc56eSRandy Dunlap	tristate "/dev/nvram support"
3268d7dc56eSRandy Dunlap	depends on X86 || HAVE_ARCH_NVRAM_OPS
3278d7dc56eSRandy Dunlap	default M68K || PPC
328a7f7f624SMasahiro Yamada	help
3298d7dc56eSRandy Dunlap	  If you say Y here and create a character special file /dev/nvram
3308d7dc56eSRandy Dunlap	  with major number 10 and minor number 144 using mknod ("man mknod"),
3318d7dc56eSRandy Dunlap	  you get read and write access to the non-volatile memory.
3328d7dc56eSRandy Dunlap
3338d7dc56eSRandy Dunlap	  /dev/nvram may be used to view settings in NVRAM or to change them
3348d7dc56eSRandy Dunlap	  (with some utility). It could also be used to frequently
3358d7dc56eSRandy Dunlap	  save a few bits of very important data that may not be lost over
3368d7dc56eSRandy Dunlap	  power-off and for which writing to disk is too insecure. Note
3378d7dc56eSRandy Dunlap	  however that most NVRAM space in a PC belongs to the BIOS and you
3388d7dc56eSRandy Dunlap	  should NEVER idly tamper with it. See Ralf Brown's interrupt list
3398d7dc56eSRandy Dunlap	  for a guide to the use of CMOS bytes by your BIOS.
3408d7dc56eSRandy Dunlap
3418d7dc56eSRandy Dunlap	  This memory is conventionally called "NVRAM" on PowerPC machines,
3428d7dc56eSRandy Dunlap	  "CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes.
3438d7dc56eSRandy Dunlap
3448d7dc56eSRandy Dunlap	  To compile this driver as a module, choose M here: the
3458d7dc56eSRandy Dunlap	  module will be called nvram.
3468d7dc56eSRandy Dunlap
3478d7dc56eSRandy Dunlapconfig DEVPORT
3488d7dc56eSRandy Dunlap	bool "/dev/port character device"
3498d7dc56eSRandy Dunlap	depends on ISA || PCI
3508d7dc56eSRandy Dunlap	default y
3518d7dc56eSRandy Dunlap	help
3528d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/port device. The /dev/port
3538d7dc56eSRandy Dunlap	  device is similar to /dev/mem, but for I/O ports.
3548d7dc56eSRandy Dunlap
3551da177e4SLinus Torvaldsconfig HPET
3561da177e4SLinus Torvalds	bool "HPET - High Precision Event Timer" if (X86 || IA64)
3571da177e4SLinus Torvalds	default n
3581da177e4SLinus Torvalds	depends on ACPI
3591da177e4SLinus Torvalds	help
3601da177e4SLinus Torvalds	  If you say Y here, you will have a miscdevice named "/dev/hpet/".  Each
3611da177e4SLinus Torvalds	  open selects one of the timers supported by the HPET.  The timers are
3623cb2fcccSMatt LaPlante	  non-periodic and/or periodic.
3631da177e4SLinus Torvalds
3641da177e4SLinus Torvaldsconfig HPET_MMAP
3651da177e4SLinus Torvalds	bool "Allow mmap of HPET"
3661da177e4SLinus Torvalds	default y
3671da177e4SLinus Torvalds	depends on HPET
3681da177e4SLinus Torvalds	help
3691da177e4SLinus Torvalds	  If you say Y here, user applications will be able to mmap
3701da177e4SLinus Torvalds	  the HPET registers.
3711da177e4SLinus Torvalds
3723d035f58SPrarit Bhargavaconfig HPET_MMAP_DEFAULT
3733d035f58SPrarit Bhargava	bool "Enable HPET MMAP access by default"
3743d035f58SPrarit Bhargava	default y
3753d035f58SPrarit Bhargava	depends on HPET_MMAP
3763d035f58SPrarit Bhargava	help
3771da177e4SLinus Torvalds	  In some hardware implementations, the page containing HPET
3781da177e4SLinus Torvalds	  registers may also contain other things that shouldn't be
3793d035f58SPrarit Bhargava	  exposed to the user.  This option selects the default (if
3803d035f58SPrarit Bhargava	  kernel parameter hpet_mmap is not set) user access to the
3813d035f58SPrarit Bhargava	  registers for applications that require it.
3821da177e4SLinus Torvalds
3831da177e4SLinus Torvaldsconfig HANGCHECK_TIMER
3841da177e4SLinus Torvalds	tristate "Hangcheck timer"
385abf3ea1bSMartin Schwidefsky	depends on X86 || IA64 || PPC64 || S390
3861da177e4SLinus Torvalds	help
3871da177e4SLinus Torvalds	  The hangcheck-timer module detects when the system has gone
3881da177e4SLinus Torvalds	  out to lunch past a certain margin.  It can reboot the system
3891da177e4SLinus Torvalds	  or merely print a warning.
3901da177e4SLinus Torvalds
391fbd8ae10SDimitri Sivanichconfig UV_MMTIMER
392fbd8ae10SDimitri Sivanich	tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
393fbd8ae10SDimitri Sivanich	depends on X86_UV
394fbd8ae10SDimitri Sivanich	default m
395fbd8ae10SDimitri Sivanich	help
396fbd8ae10SDimitri Sivanich	  The uv_mmtimer device allows direct userspace access to the
397fbd8ae10SDimitri Sivanich	  UV system timer.
398fbd8ae10SDimitri Sivanich
3991da177e4SLinus Torvaldssource "drivers/char/tpm/Kconfig"
4001da177e4SLinus Torvalds
4011a80ba88SMark Grossconfig TELCLOCK
40203154a27SMark Gross	tristate "Telecom clock driver for ATCA SBC"
40365929215SGreg Kroah-Hartman	depends on X86
4041a80ba88SMark Gross	default n
4051a80ba88SMark Gross	help
40603154a27SMark Gross	  The telecom clock device is specific to the MPCBL0010 and MPCBL0050
40703154a27SMark Gross	  ATCA computers and allows direct userspace access to the
40803154a27SMark Gross	  configuration of the telecom clock configuration settings.  This
40903154a27SMark Gross	  device is used for hardware synchronization across the ATCA backplane
41003154a27SMark Gross	  fabric.  Upon loading, the driver exports a sysfs directory,
41103154a27SMark Gross	  /sys/devices/platform/telco_clock, with a number of files for
41203154a27SMark Gross	  controlling the behavior of this hardware.
4131a80ba88SMark Gross
41461d48c2cSMartin Schwidefskysource "drivers/s390/char/Kconfig"
41561d48c2cSMartin Schwidefsky
4167051924fSEli Billauersource "drivers/char/xillybus/Kconfig"
4177051924fSEli Billauer
418873c38a4STom Hromatkaconfig ADI
419873c38a4STom Hromatka	tristate "SPARC Privileged ADI driver"
420873c38a4STom Hromatka	depends on SPARC64
421873c38a4STom Hromatka	default m
422873c38a4STom Hromatka	help
423873c38a4STom Hromatka	  SPARC M7 and newer processors utilize ADI (Application Data
424873c38a4STom Hromatka	  Integrity) to version and protect memory.  This driver provides
425873c38a4STom Hromatka	  read/write access to the ADI versions for privileged processes.
426873c38a4STom Hromatka	  This feature is also known as MCD (Memory Corruption Detection)
427873c38a4STom Hromatka	  and SSM (Silicon Secured Memory).  Intended consumers of this
428873c38a4STom Hromatka	  driver include crash and makedumpfile.
429873c38a4STom Hromatka
43039a8883aSTheodore Ts'oconfig RANDOM_TRUST_CPU
43139a8883aSTheodore Ts'o	bool "Trust the CPU manufacturer to initialize Linux's CRNG"
43223ae0c17SRichard Henderson	depends on ARCH_RANDOM
43339a8883aSTheodore Ts'o	default n
43439a8883aSTheodore Ts'o	help
43539a8883aSTheodore Ts'o	Assume that CPU manufacturer (e.g., Intel or AMD for RDSEED or
43639a8883aSTheodore Ts'o	RDRAND, IBM for the S390 and Power PC architectures) is trustworthy
43739a8883aSTheodore Ts'o	for the purposes of initializing Linux's CRNG.  Since this is not
43839a8883aSTheodore Ts'o	something that can be independently audited, this amounts to trusting
43939a8883aSTheodore Ts'o	that CPU manufacturer (perhaps with the insistence or mandate
44039a8883aSTheodore Ts'o	of a Nation State's intelligence or law enforcement agencies)
44139a8883aSTheodore Ts'o	has not installed a hidden back door to compromise the CPU's
4429b254366SKees Cook	random number generation facilities. This can also be configured
4439b254366SKees Cook	at boot with "random.trust_cpu=on/off".
444428826f5SHsin-Yi Wang
445428826f5SHsin-Yi Wangconfig RANDOM_TRUST_BOOTLOADER
446428826f5SHsin-Yi Wang	bool "Trust the bootloader to initialize Linux's CRNG"
447428826f5SHsin-Yi Wang	help
448428826f5SHsin-Yi Wang	Some bootloaders can provide entropy to increase the kernel's initial
449428826f5SHsin-Yi Wang	device randomness. Say Y here to assume the entropy provided by the
450428826f5SHsin-Yi Wang	booloader is trustworthy so it will be added to the kernel's entropy
451428826f5SHsin-Yi Wang	pool. Otherwise, say N here so it will be regarded as device input that
452428826f5SHsin-Yi Wang	only mixes the entropy pool.
453*9e1b28b7SRandy Dunlap
454*9e1b28b7SRandy Dunlapendmenu
455