xref: /linux/drivers/char/Kconfig (revision 9f30eb29c514589e16f2999ea070598583d1f6ec)
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"
96*9f30eb29SMichal Suchanek	depends on TTY
9731610434SRusty Russell	select HVC_DRIVER
98*9f30eb29SMichal 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 R3964
2221da177e4SLinus Torvalds	tristate "Siemens R3964 line discipline"
223c7084edcSGreg Kroah-Hartman	depends on TTY && BROKEN
224a7f7f624SMasahiro Yamada	help
2251da177e4SLinus Torvalds	  This driver allows synchronous communication with devices using the
2261da177e4SLinus Torvalds	  Siemens R3964 packet protocol. Unless you are dealing with special
2271da177e4SLinus Torvalds	  hardware like PLCs, you are unlikely to need this.
2281da177e4SLinus Torvalds
2291da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2301da177e4SLinus Torvalds	  module will be called n_r3964.
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvalds	  If unsure, say N.
2331da177e4SLinus Torvalds
2341da177e4SLinus Torvaldsconfig APPLICOM
2351da177e4SLinus Torvalds	tristate "Applicom intelligent fieldbus card support"
2361da177e4SLinus Torvalds	depends on PCI
237a7f7f624SMasahiro Yamada	help
2381da177e4SLinus Torvalds	  This driver provides the kernel-side support for the intelligent
2391da177e4SLinus Torvalds	  fieldbus cards made by Applicom International. More information
2401da177e4SLinus Torvalds	  about these cards can be found on the WWW at the address
2414e74eeb2SAlexander A. Klimov	  <https://www.applicom-int.com/>, or by email from David Woodhouse
2421da177e4SLinus Torvalds	  <dwmw2@infradead.org>.
2431da177e4SLinus Torvalds
2441da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2451da177e4SLinus Torvalds	  module will be called applicom.
2461da177e4SLinus Torvalds
2471da177e4SLinus Torvalds	  If unsure, say N.
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvaldsconfig SONYPI
25065929215SGreg Kroah-Hartman	tristate "Sony Vaio Programmable I/O Control Device support"
25157dcf020SJean Delvare	depends on X86_32 && PCI && INPUT
252a7f7f624SMasahiro Yamada	help
2531da177e4SLinus Torvalds	  This driver enables access to the Sony Programmable I/O Control
2541da177e4SLinus Torvalds	  Device which can be found in many (all ?) Sony Vaio laptops.
2551da177e4SLinus Torvalds
2561da177e4SLinus Torvalds	  If you have one of those laptops, read
2579e1cbedeSMauro Carvalho Chehab	  <file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here.
2581da177e4SLinus Torvalds
2591da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2601da177e4SLinus Torvalds	  module will be called sonypi.
2611da177e4SLinus Torvalds
26209762516SYoichi Yuasaconfig GPIO_TB0219
26309762516SYoichi Yuasa	tristate "TANBAC TB0219 GPIO support"
264bef1f402SRobert P. J. Day	depends on TANBAC_TB022X
265584e1236SYoichi Yuasa	select GPIO_VR41XX
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvaldssource "drivers/char/pcmcia/Kconfig"
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvaldsconfig MWAVE
2701da177e4SLinus Torvalds	tristate "ACP Modem (Mwave) support"
2714f73bc4dSJoe Millenbach	depends on X86 && TTY
2721da177e4SLinus Torvalds	select SERIAL_8250
273a7f7f624SMasahiro Yamada	help
2741da177e4SLinus Torvalds	  The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
2751da177e4SLinus Torvalds	  kernel driver and a user level application. Together these components
2761da177e4SLinus Torvalds	  support direct attachment to public switched telephone networks (PSTNs)
2771da177e4SLinus Torvalds	  and support selected world wide countries.
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvalds	  This version of the ACP Modem driver supports the IBM Thinkpad 600E,
2801da177e4SLinus Torvalds	  600, and 770 that include on board ACP modem hardware.
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvalds	  The modem also supports the standard communications port interface
2831da177e4SLinus Torvalds	  (ttySx) and is compatible with the Hayes AT Command Set.
2841da177e4SLinus Torvalds
2851da177e4SLinus Torvalds	  The user level application needed to use this driver can be found at
2861da177e4SLinus Torvalds	  the IBM Linux Technology Center (LTC) web site:
2871da177e4SLinus Torvalds	  <http://www.ibm.com/linux/ltc/>.
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvalds	  If you own one of the above IBM Thinkpads which has the Mwave chipset
2901da177e4SLinus Torvalds	  in it, say Y.
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2931da177e4SLinus Torvalds	  module will be called mwave.
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldsconfig SCx200_GPIO
2961da177e4SLinus Torvalds	tristate "NatSemi SCx200 GPIO Support"
2971da177e4SLinus Torvalds	depends on SCx200
2987a8e2a5eSJim Cromie	select NSC_GPIO
2991da177e4SLinus Torvalds	help
3001da177e4SLinus Torvalds	  Give userspace access to the GPIO pins on the National
3011da177e4SLinus Torvalds	  Semiconductor SCx200 processors.
3021da177e4SLinus Torvalds
3031da177e4SLinus Torvalds	  If compiled as a module, it will be called scx200_gpio.
3041da177e4SLinus Torvalds
3057a8e2a5eSJim Cromieconfig PC8736x_GPIO
3067a8e2a5eSJim Cromie	tristate "NatSemi PC8736x GPIO Support"
3073369465eSAl Viro	depends on X86_32 && !UML
3087a8e2a5eSJim Cromie	default SCx200_GPIO	# mostly N
3097a8e2a5eSJim Cromie	select NSC_GPIO		# needed for support routines
3107a8e2a5eSJim Cromie	help
3117a8e2a5eSJim Cromie	  Give userspace access to the GPIO pins on the National
3127a8e2a5eSJim Cromie	  Semiconductor PC-8736x (x=[03456]) SuperIO chip.  The chip
3137a8e2a5eSJim Cromie	  has multiple functional units, inc several managed by
3147a8e2a5eSJim Cromie	  hwmon/pc87360 driver.  Tested with PC-87366
3157a8e2a5eSJim Cromie
3167a8e2a5eSJim Cromie	  If compiled as a module, it will be called pc8736x_gpio.
3177a8e2a5eSJim Cromie
3187a8e2a5eSJim Cromieconfig NSC_GPIO
3197a8e2a5eSJim Cromie	tristate "NatSemi Base GPIO Support"
320699352c3SDave Jones	depends on X86_32
3217a8e2a5eSJim Cromie	# selected by SCx200_GPIO and PC8736x_GPIO
3227a8e2a5eSJim Cromie	# what about 2 selectors differing: m != y
3237a8e2a5eSJim Cromie	help
3247a8e2a5eSJim Cromie	  Common support used (and needed) by scx200_gpio and
3257a8e2a5eSJim Cromie	  pc8736x_gpio drivers.  If those drivers are built as
3267a8e2a5eSJim Cromie	  modules, this one will be too, named nsc_gpio
3277a8e2a5eSJim Cromie
3288d7dc56eSRandy Dunlapconfig DEVMEM
3298d7dc56eSRandy Dunlap	bool "/dev/mem virtual device support"
3308d7dc56eSRandy Dunlap	default y
3318d7dc56eSRandy Dunlap	help
3328d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/mem device.
3338d7dc56eSRandy Dunlap	  The /dev/mem device is used to access areas of physical
3348d7dc56eSRandy Dunlap	  memory.
3358d7dc56eSRandy Dunlap	  When in doubt, say "Y".
3368d7dc56eSRandy Dunlap
3378d7dc56eSRandy Dunlapconfig DEVKMEM
3388d7dc56eSRandy Dunlap	bool "/dev/kmem virtual device support"
3398d7dc56eSRandy Dunlap	# On arm64, VMALLOC_START < PAGE_OFFSET, which confuses kmem read/write
3408d7dc56eSRandy Dunlap	depends on !ARM64
3418d7dc56eSRandy Dunlap	help
3428d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/kmem device. The
3438d7dc56eSRandy Dunlap	  /dev/kmem device is rarely used, but can be used for certain
3448d7dc56eSRandy Dunlap	  kind of kernel debugging operations.
3458d7dc56eSRandy Dunlap	  When in doubt, say "N".
3468d7dc56eSRandy Dunlap
3478d7dc56eSRandy Dunlapconfig NVRAM
3488d7dc56eSRandy Dunlap	tristate "/dev/nvram support"
3498d7dc56eSRandy Dunlap	depends on X86 || HAVE_ARCH_NVRAM_OPS
3508d7dc56eSRandy Dunlap	default M68K || PPC
351a7f7f624SMasahiro Yamada	help
3528d7dc56eSRandy Dunlap	  If you say Y here and create a character special file /dev/nvram
3538d7dc56eSRandy Dunlap	  with major number 10 and minor number 144 using mknod ("man mknod"),
3548d7dc56eSRandy Dunlap	  you get read and write access to the non-volatile memory.
3558d7dc56eSRandy Dunlap
3568d7dc56eSRandy Dunlap	  /dev/nvram may be used to view settings in NVRAM or to change them
3578d7dc56eSRandy Dunlap	  (with some utility). It could also be used to frequently
3588d7dc56eSRandy Dunlap	  save a few bits of very important data that may not be lost over
3598d7dc56eSRandy Dunlap	  power-off and for which writing to disk is too insecure. Note
3608d7dc56eSRandy Dunlap	  however that most NVRAM space in a PC belongs to the BIOS and you
3618d7dc56eSRandy Dunlap	  should NEVER idly tamper with it. See Ralf Brown's interrupt list
3628d7dc56eSRandy Dunlap	  for a guide to the use of CMOS bytes by your BIOS.
3638d7dc56eSRandy Dunlap
3648d7dc56eSRandy Dunlap	  This memory is conventionally called "NVRAM" on PowerPC machines,
3658d7dc56eSRandy Dunlap	  "CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes.
3668d7dc56eSRandy Dunlap
3678d7dc56eSRandy Dunlap	  To compile this driver as a module, choose M here: the
3688d7dc56eSRandy Dunlap	  module will be called nvram.
3698d7dc56eSRandy Dunlap
3701da177e4SLinus Torvaldsconfig RAW_DRIVER
371abd4aa5aSDave Jones	tristate "RAW driver (/dev/raw/rawN)"
3729361401eSDavid Howells	depends on BLOCK
3731da177e4SLinus Torvalds	help
3741da177e4SLinus Torvalds	  The raw driver permits block devices to be bound to /dev/raw/rawN.
3751da177e4SLinus Torvalds	  Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
3761da177e4SLinus Torvalds	  See the raw(8) manpage for more details.
3771da177e4SLinus Torvalds
378abd4aa5aSDave Jones	  Applications should preferably open the device (eg /dev/hda1)
3791da177e4SLinus Torvalds	  with the O_DIRECT flag.
3801da177e4SLinus Torvalds
3810de502aaSAndrew Mortonconfig MAX_RAW_DEVS
3820078bff5SJan Kara	int "Maximum number of RAW devices to support (1-65536)"
3830de502aaSAndrew Morton	depends on RAW_DRIVER
3847143479aSPaul Bolle	range 1 65536
3850de502aaSAndrew Morton	default "256"
3860de502aaSAndrew Morton	help
3870de502aaSAndrew Morton	  The maximum number of RAW devices that are supported.
3880de502aaSAndrew Morton	  Default is 256. Increase this number in case you need lots of
3890de502aaSAndrew Morton	  raw devices.
3900de502aaSAndrew Morton
3918d7dc56eSRandy Dunlapconfig DEVPORT
3928d7dc56eSRandy Dunlap	bool "/dev/port character device"
3938d7dc56eSRandy Dunlap	depends on ISA || PCI
3948d7dc56eSRandy Dunlap	default y
3958d7dc56eSRandy Dunlap	help
3968d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/port device. The /dev/port
3978d7dc56eSRandy Dunlap	  device is similar to /dev/mem, but for I/O ports.
3988d7dc56eSRandy Dunlap
3991da177e4SLinus Torvaldsconfig HPET
4001da177e4SLinus Torvalds	bool "HPET - High Precision Event Timer" if (X86 || IA64)
4011da177e4SLinus Torvalds	default n
4021da177e4SLinus Torvalds	depends on ACPI
4031da177e4SLinus Torvalds	help
4041da177e4SLinus Torvalds	  If you say Y here, you will have a miscdevice named "/dev/hpet/".  Each
4051da177e4SLinus Torvalds	  open selects one of the timers supported by the HPET.  The timers are
4063cb2fcccSMatt LaPlante	  non-periodic and/or periodic.
4071da177e4SLinus Torvalds
4081da177e4SLinus Torvaldsconfig HPET_MMAP
4091da177e4SLinus Torvalds	bool "Allow mmap of HPET"
4101da177e4SLinus Torvalds	default y
4111da177e4SLinus Torvalds	depends on HPET
4121da177e4SLinus Torvalds	help
4131da177e4SLinus Torvalds	  If you say Y here, user applications will be able to mmap
4141da177e4SLinus Torvalds	  the HPET registers.
4151da177e4SLinus Torvalds
4163d035f58SPrarit Bhargavaconfig HPET_MMAP_DEFAULT
4173d035f58SPrarit Bhargava	bool "Enable HPET MMAP access by default"
4183d035f58SPrarit Bhargava	default y
4193d035f58SPrarit Bhargava	depends on HPET_MMAP
4203d035f58SPrarit Bhargava	help
4211da177e4SLinus Torvalds	  In some hardware implementations, the page containing HPET
4221da177e4SLinus Torvalds	  registers may also contain other things that shouldn't be
4233d035f58SPrarit Bhargava	  exposed to the user.  This option selects the default (if
4243d035f58SPrarit Bhargava	  kernel parameter hpet_mmap is not set) user access to the
4253d035f58SPrarit Bhargava	  registers for applications that require it.
4261da177e4SLinus Torvalds
4271da177e4SLinus Torvaldsconfig HANGCHECK_TIMER
4281da177e4SLinus Torvalds	tristate "Hangcheck timer"
429abf3ea1bSMartin Schwidefsky	depends on X86 || IA64 || PPC64 || S390
4301da177e4SLinus Torvalds	help
4311da177e4SLinus Torvalds	  The hangcheck-timer module detects when the system has gone
4321da177e4SLinus Torvalds	  out to lunch past a certain margin.  It can reboot the system
4331da177e4SLinus Torvalds	  or merely print a warning.
4341da177e4SLinus Torvalds
435fbd8ae10SDimitri Sivanichconfig UV_MMTIMER
436fbd8ae10SDimitri Sivanich	tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
437fbd8ae10SDimitri Sivanich	depends on X86_UV
438fbd8ae10SDimitri Sivanich	default m
439fbd8ae10SDimitri Sivanich	help
440fbd8ae10SDimitri Sivanich	  The uv_mmtimer device allows direct userspace access to the
441fbd8ae10SDimitri Sivanich	  UV system timer.
442fbd8ae10SDimitri Sivanich
4431da177e4SLinus Torvaldssource "drivers/char/tpm/Kconfig"
4441da177e4SLinus Torvalds
4451a80ba88SMark Grossconfig TELCLOCK
44603154a27SMark Gross	tristate "Telecom clock driver for ATCA SBC"
44765929215SGreg Kroah-Hartman	depends on X86
4481a80ba88SMark Gross	default n
4491a80ba88SMark Gross	help
45003154a27SMark Gross	  The telecom clock device is specific to the MPCBL0010 and MPCBL0050
45103154a27SMark Gross	  ATCA computers and allows direct userspace access to the
45203154a27SMark Gross	  configuration of the telecom clock configuration settings.  This
45303154a27SMark Gross	  device is used for hardware synchronization across the ATCA backplane
45403154a27SMark Gross	  fabric.  Upon loading, the driver exports a sysfs directory,
45503154a27SMark Gross	  /sys/devices/platform/telco_clock, with a number of files for
45603154a27SMark Gross	  controlling the behavior of this hardware.
4571a80ba88SMark Gross
45861d48c2cSMartin Schwidefskysource "drivers/s390/char/Kconfig"
45961d48c2cSMartin Schwidefsky
4607051924fSEli Billauersource "drivers/char/xillybus/Kconfig"
4617051924fSEli Billauer
462873c38a4STom Hromatkaconfig ADI
463873c38a4STom Hromatka	tristate "SPARC Privileged ADI driver"
464873c38a4STom Hromatka	depends on SPARC64
465873c38a4STom Hromatka	default m
466873c38a4STom Hromatka	help
467873c38a4STom Hromatka	  SPARC M7 and newer processors utilize ADI (Application Data
468873c38a4STom Hromatka	  Integrity) to version and protect memory.  This driver provides
469873c38a4STom Hromatka	  read/write access to the ADI versions for privileged processes.
470873c38a4STom Hromatka	  This feature is also known as MCD (Memory Corruption Detection)
471873c38a4STom Hromatka	  and SSM (Silicon Secured Memory).  Intended consumers of this
472873c38a4STom Hromatka	  driver include crash and makedumpfile.
473873c38a4STom Hromatka
4741da177e4SLinus Torvaldsendmenu
4751da177e4SLinus Torvalds
47639a8883aSTheodore Ts'oconfig RANDOM_TRUST_CPU
47739a8883aSTheodore Ts'o	bool "Trust the CPU manufacturer to initialize Linux's CRNG"
47823ae0c17SRichard Henderson	depends on ARCH_RANDOM
47939a8883aSTheodore Ts'o	default n
48039a8883aSTheodore Ts'o	help
48139a8883aSTheodore Ts'o	Assume that CPU manufacturer (e.g., Intel or AMD for RDSEED or
48239a8883aSTheodore Ts'o	RDRAND, IBM for the S390 and Power PC architectures) is trustworthy
48339a8883aSTheodore Ts'o	for the purposes of initializing Linux's CRNG.  Since this is not
48439a8883aSTheodore Ts'o	something that can be independently audited, this amounts to trusting
48539a8883aSTheodore Ts'o	that CPU manufacturer (perhaps with the insistence or mandate
48639a8883aSTheodore Ts'o	of a Nation State's intelligence or law enforcement agencies)
48739a8883aSTheodore Ts'o	has not installed a hidden back door to compromise the CPU's
4889b254366SKees Cook	random number generation facilities. This can also be configured
4899b254366SKees Cook	at boot with "random.trust_cpu=on/off".
490428826f5SHsin-Yi Wang
491428826f5SHsin-Yi Wangconfig RANDOM_TRUST_BOOTLOADER
492428826f5SHsin-Yi Wang	bool "Trust the bootloader to initialize Linux's CRNG"
493428826f5SHsin-Yi Wang	help
494428826f5SHsin-Yi Wang	Some bootloaders can provide entropy to increase the kernel's initial
495428826f5SHsin-Yi Wang	device randomness. Say Y here to assume the entropy provided by the
496428826f5SHsin-Yi Wang	booloader is trustworthy so it will be added to the kernel's entropy
497428826f5SHsin-Yi Wang	pool. Otherwise, say N here so it will be regarded as device input that
498428826f5SHsin-Yi Wang	only mixes the entropy pool.
499