xref: /linux/drivers/char/Kconfig (revision 4e74eeb27e2873e923fee883df64341dae9ecdbb)
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
41*4e74eeb2SAlexander 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"
964f73bc4dSJoe Millenbach	depends on VIRTIO && TTY
9731610434SRusty Russell	select HVC_DRIVER
987721c494SChristian Borntraeger	help
99ecda85e7SJuergen Gross	  Virtio console for use with hypervisors.
1007721c494SChristian Borntraeger
101fb08bd27SAmit Shah	  Also serves as a general-purpose serial device for data
102fb08bd27SAmit Shah	  transfer between the guest and host.  Character devices at
103fb08bd27SAmit Shah	  /dev/vportNpn will be created when corresponding ports are
104fb08bd27SAmit Shah	  found, where N is the device number and n is the port number
105fb08bd27SAmit Shah	  within that device.  If specified by the host, a sysfs
106fb08bd27SAmit Shah	  attribute called 'name' will be populated with a name for
107fb08bd27SAmit Shah	  the port which can be used by udev scripts to create a
108fb08bd27SAmit Shah	  symlink to the device.
10931610434SRusty Russell
110fe9e8d53SSonny Raoconfig IBM_BSR
111fe9e8d53SSonny Rao	tristate "IBM POWER Barrier Synchronization Register support"
112fe9e8d53SSonny Rao	depends on PPC_PSERIES
113fe9e8d53SSonny Rao	help
114fe9e8d53SSonny Rao	  This devices exposes a hardware mechanism for fast synchronization
115fe9e8d53SSonny Rao	  of threads across a large system which avoids bouncing a cacheline
116fe9e8d53SSonny Rao	  between several cores on a system
117fe9e8d53SSonny Rao
11843a1dd9bSSuraj Jitindar Singhconfig POWERNV_OP_PANEL
11943a1dd9bSSuraj Jitindar Singh	tristate "IBM POWERNV Operator Panel Display support"
12043a1dd9bSSuraj Jitindar Singh	depends on PPC_POWERNV
12143a1dd9bSSuraj Jitindar Singh	default m
12243a1dd9bSSuraj Jitindar Singh	help
12343a1dd9bSSuraj Jitindar Singh	  If you say Y here, a special character device node, /dev/op_panel,
12443a1dd9bSSuraj Jitindar Singh	  will be created which exposes the operator panel display on IBM
12543a1dd9bSSuraj Jitindar Singh	  Power Systems machines with FSPs.
12643a1dd9bSSuraj Jitindar Singh
12743a1dd9bSSuraj Jitindar Singh	  If you don't require access to the operator panel display from user
12843a1dd9bSSuraj Jitindar Singh	  space, say N.
12943a1dd9bSSuraj Jitindar Singh
13043a1dd9bSSuraj Jitindar Singh	  If unsure, say M here to build it as a module called powernv-op-panel.
13143a1dd9bSSuraj Jitindar Singh
1321da177e4SLinus Torvaldssource "drivers/char/ipmi/Kconfig"
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldsconfig DS1620
1351da177e4SLinus Torvalds	tristate "NetWinder thermometer support"
1361da177e4SLinus Torvalds	depends on ARCH_NETWINDER
1371da177e4SLinus Torvalds	help
1381da177e4SLinus Torvalds	  Say Y here to include support for the thermal management hardware
1391da177e4SLinus Torvalds	  found in the NetWinder. This driver allows the user to control the
1401da177e4SLinus Torvalds	  temperature set points and to read the current temperature.
1411da177e4SLinus Torvalds
1421da177e4SLinus Torvalds	  It is also possible to say M here to build it as a module (ds1620)
1431da177e4SLinus Torvalds	  It is recommended to be used on a NetWinder, but it is not a
1441da177e4SLinus Torvalds	  necessity.
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvaldsconfig NWBUTTON
1471da177e4SLinus Torvalds	tristate "NetWinder Button"
1481da177e4SLinus Torvalds	depends on ARCH_NETWINDER
149a7f7f624SMasahiro Yamada	help
1501da177e4SLinus Torvalds	  If you say Y here and create a character device node /dev/nwbutton
1511da177e4SLinus Torvalds	  with major and minor numbers 10 and 158 ("man mknod"), then every
1521da177e4SLinus Torvalds	  time the orange button is pressed a number of times, the number of
1531da177e4SLinus Torvalds	  times the button was pressed will be written to that device.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds	  This is most useful for applications, as yet unwritten, which
1561da177e4SLinus Torvalds	  perform actions based on how many times the button is pressed in a
1571da177e4SLinus Torvalds	  row.
1581da177e4SLinus Torvalds
1591da177e4SLinus Torvalds	  Do not hold the button down for too long, as the driver does not
1601da177e4SLinus Torvalds	  alter the behaviour of the hardware reset circuitry attached to the
1611da177e4SLinus Torvalds	  button; it will still execute a hard reset if the button is held
1621da177e4SLinus Torvalds	  down for longer than approximately five seconds.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1651da177e4SLinus Torvalds	  module will be called nwbutton.
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvalds	  Most people will answer Y to this question and "Reboot Using Button"
1681da177e4SLinus Torvalds	  below to be able to initiate a system shutdown from the button.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvaldsconfig NWBUTTON_REBOOT
1711da177e4SLinus Torvalds	bool "Reboot Using Button"
1721da177e4SLinus Torvalds	depends on NWBUTTON
1731da177e4SLinus Torvalds	help
1741da177e4SLinus Torvalds	  If you say Y here, then you will be able to initiate a system
1751da177e4SLinus Torvalds	  shutdown and reboot by pressing the orange button a number of times.
1761da177e4SLinus Torvalds	  The number of presses to initiate the shutdown is two by default,
1771da177e4SLinus Torvalds	  but this can be altered by modifying the value of NUM_PRESSES_REBOOT
1781da177e4SLinus Torvalds	  in nwbutton.h and recompiling the driver or, if you compile the
1791da177e4SLinus Torvalds	  driver as a module, you can specify the number of presses at load
1801da177e4SLinus Torvalds	  time with "insmod button reboot_count=<something>".
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvaldsconfig NWFLASH
1831da177e4SLinus Torvalds	tristate "NetWinder flash support"
1841da177e4SLinus Torvalds	depends on ARCH_NETWINDER
185a7f7f624SMasahiro Yamada	help
1861da177e4SLinus Torvalds	  If you say Y here and create a character device /dev/flash with
1871da177e4SLinus Torvalds	  major 10 and minor 160 you can manipulate the flash ROM containing
1881da177e4SLinus Torvalds	  the NetWinder firmware. Be careful as accidentally overwriting the
1891da177e4SLinus Torvalds	  flash contents can render your computer unbootable. On no account
1901da177e4SLinus Torvalds	  allow random users access to this device. :-)
1911da177e4SLinus Torvalds
1921da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
1931da177e4SLinus Torvalds	  module will be called nwflash.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds	  If you're not sure, say N.
1961da177e4SLinus Torvalds
197844dd05fSMichael Bueschsource "drivers/char/hw_random/Kconfig"
198844dd05fSMichael Buesch
1991da177e4SLinus Torvaldsconfig DTLK
2001da177e4SLinus Torvalds	tristate "Double Talk PC internal speech card support"
201eeca7a36SMartin Schwidefsky	depends on ISA
2021da177e4SLinus Torvalds	help
2031da177e4SLinus Torvalds	  This driver is for the DoubleTalk PC, a speech synthesizer
204*4e74eeb2SAlexander A. Klimov	  manufactured by RC Systems (<https://www.rcsys.com/>).  It is also
2051da177e4SLinus Torvalds	  called the `internal DoubleTalk'.
2061da177e4SLinus Torvalds
2071da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2081da177e4SLinus Torvalds	  module will be called dtlk.
2091da177e4SLinus Torvalds
210ef141a0bSStephen Neuendorfferconfig XILINX_HWICAP
211ef141a0bSStephen Neuendorffer	tristate "Xilinx HWICAP Support"
2127ade8495SMichal Simek	depends on MICROBLAZE
213ef141a0bSStephen Neuendorffer	help
214ef141a0bSStephen Neuendorffer	  This option enables support for Xilinx Internal Configuration
215ef141a0bSStephen Neuendorffer	  Access Port (ICAP) driver.  The ICAP is used on Xilinx Virtex
216ef141a0bSStephen Neuendorffer	  FPGA platforms to partially reconfigure the FPGA at runtime.
217ef141a0bSStephen Neuendorffer
218ef141a0bSStephen Neuendorffer	  If unsure, say N.
219ef141a0bSStephen Neuendorffer
2201da177e4SLinus Torvaldsconfig R3964
2211da177e4SLinus Torvalds	tristate "Siemens R3964 line discipline"
222c7084edcSGreg Kroah-Hartman	depends on TTY && BROKEN
223a7f7f624SMasahiro Yamada	help
2241da177e4SLinus Torvalds	  This driver allows synchronous communication with devices using the
2251da177e4SLinus Torvalds	  Siemens R3964 packet protocol. Unless you are dealing with special
2261da177e4SLinus Torvalds	  hardware like PLCs, you are unlikely to need this.
2271da177e4SLinus Torvalds
2281da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2291da177e4SLinus Torvalds	  module will be called n_r3964.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvalds	  If unsure, say N.
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvaldsconfig APPLICOM
2341da177e4SLinus Torvalds	tristate "Applicom intelligent fieldbus card support"
2351da177e4SLinus Torvalds	depends on PCI
236a7f7f624SMasahiro Yamada	help
2371da177e4SLinus Torvalds	  This driver provides the kernel-side support for the intelligent
2381da177e4SLinus Torvalds	  fieldbus cards made by Applicom International. More information
2391da177e4SLinus Torvalds	  about these cards can be found on the WWW at the address
240*4e74eeb2SAlexander A. Klimov	  <https://www.applicom-int.com/>, or by email from David Woodhouse
2411da177e4SLinus Torvalds	  <dwmw2@infradead.org>.
2421da177e4SLinus Torvalds
2431da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2441da177e4SLinus Torvalds	  module will be called applicom.
2451da177e4SLinus Torvalds
2461da177e4SLinus Torvalds	  If unsure, say N.
2471da177e4SLinus Torvalds
2481da177e4SLinus Torvaldsconfig SONYPI
24965929215SGreg Kroah-Hartman	tristate "Sony Vaio Programmable I/O Control Device support"
25057dcf020SJean Delvare	depends on X86_32 && PCI && INPUT
251a7f7f624SMasahiro Yamada	help
2521da177e4SLinus Torvalds	  This driver enables access to the Sony Programmable I/O Control
2531da177e4SLinus Torvalds	  Device which can be found in many (all ?) Sony Vaio laptops.
2541da177e4SLinus Torvalds
2551da177e4SLinus Torvalds	  If you have one of those laptops, read
2569e1cbedeSMauro Carvalho Chehab	  <file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here.
2571da177e4SLinus Torvalds
2581da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2591da177e4SLinus Torvalds	  module will be called sonypi.
2601da177e4SLinus Torvalds
26109762516SYoichi Yuasaconfig GPIO_TB0219
26209762516SYoichi Yuasa	tristate "TANBAC TB0219 GPIO support"
263bef1f402SRobert P. J. Day	depends on TANBAC_TB022X
264584e1236SYoichi Yuasa	select GPIO_VR41XX
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvaldssource "drivers/char/pcmcia/Kconfig"
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsconfig MWAVE
2691da177e4SLinus Torvalds	tristate "ACP Modem (Mwave) support"
2704f73bc4dSJoe Millenbach	depends on X86 && TTY
2711da177e4SLinus Torvalds	select SERIAL_8250
272a7f7f624SMasahiro Yamada	help
2731da177e4SLinus Torvalds	  The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
2741da177e4SLinus Torvalds	  kernel driver and a user level application. Together these components
2751da177e4SLinus Torvalds	  support direct attachment to public switched telephone networks (PSTNs)
2761da177e4SLinus Torvalds	  and support selected world wide countries.
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvalds	  This version of the ACP Modem driver supports the IBM Thinkpad 600E,
2791da177e4SLinus Torvalds	  600, and 770 that include on board ACP modem hardware.
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvalds	  The modem also supports the standard communications port interface
2821da177e4SLinus Torvalds	  (ttySx) and is compatible with the Hayes AT Command Set.
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvalds	  The user level application needed to use this driver can be found at
2851da177e4SLinus Torvalds	  the IBM Linux Technology Center (LTC) web site:
2861da177e4SLinus Torvalds	  <http://www.ibm.com/linux/ltc/>.
2871da177e4SLinus Torvalds
2881da177e4SLinus Torvalds	  If you own one of the above IBM Thinkpads which has the Mwave chipset
2891da177e4SLinus Torvalds	  in it, say Y.
2901da177e4SLinus Torvalds
2911da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
2921da177e4SLinus Torvalds	  module will be called mwave.
2931da177e4SLinus Torvalds
2941da177e4SLinus Torvaldsconfig SCx200_GPIO
2951da177e4SLinus Torvalds	tristate "NatSemi SCx200 GPIO Support"
2961da177e4SLinus Torvalds	depends on SCx200
2977a8e2a5eSJim Cromie	select NSC_GPIO
2981da177e4SLinus Torvalds	help
2991da177e4SLinus Torvalds	  Give userspace access to the GPIO pins on the National
3001da177e4SLinus Torvalds	  Semiconductor SCx200 processors.
3011da177e4SLinus Torvalds
3021da177e4SLinus Torvalds	  If compiled as a module, it will be called scx200_gpio.
3031da177e4SLinus Torvalds
3047a8e2a5eSJim Cromieconfig PC8736x_GPIO
3057a8e2a5eSJim Cromie	tristate "NatSemi PC8736x GPIO Support"
3063369465eSAl Viro	depends on X86_32 && !UML
3077a8e2a5eSJim Cromie	default SCx200_GPIO	# mostly N
3087a8e2a5eSJim Cromie	select NSC_GPIO		# needed for support routines
3097a8e2a5eSJim Cromie	help
3107a8e2a5eSJim Cromie	  Give userspace access to the GPIO pins on the National
3117a8e2a5eSJim Cromie	  Semiconductor PC-8736x (x=[03456]) SuperIO chip.  The chip
3127a8e2a5eSJim Cromie	  has multiple functional units, inc several managed by
3137a8e2a5eSJim Cromie	  hwmon/pc87360 driver.  Tested with PC-87366
3147a8e2a5eSJim Cromie
3157a8e2a5eSJim Cromie	  If compiled as a module, it will be called pc8736x_gpio.
3167a8e2a5eSJim Cromie
3177a8e2a5eSJim Cromieconfig NSC_GPIO
3187a8e2a5eSJim Cromie	tristate "NatSemi Base GPIO Support"
319699352c3SDave Jones	depends on X86_32
3207a8e2a5eSJim Cromie	# selected by SCx200_GPIO and PC8736x_GPIO
3217a8e2a5eSJim Cromie	# what about 2 selectors differing: m != y
3227a8e2a5eSJim Cromie	help
3237a8e2a5eSJim Cromie	  Common support used (and needed) by scx200_gpio and
3247a8e2a5eSJim Cromie	  pc8736x_gpio drivers.  If those drivers are built as
3257a8e2a5eSJim Cromie	  modules, this one will be too, named nsc_gpio
3267a8e2a5eSJim Cromie
3278d7dc56eSRandy Dunlapconfig DEVMEM
3288d7dc56eSRandy Dunlap	bool "/dev/mem virtual device support"
3298d7dc56eSRandy Dunlap	default y
3308d7dc56eSRandy Dunlap	help
3318d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/mem device.
3328d7dc56eSRandy Dunlap	  The /dev/mem device is used to access areas of physical
3338d7dc56eSRandy Dunlap	  memory.
3348d7dc56eSRandy Dunlap	  When in doubt, say "Y".
3358d7dc56eSRandy Dunlap
3368d7dc56eSRandy Dunlapconfig DEVKMEM
3378d7dc56eSRandy Dunlap	bool "/dev/kmem virtual device support"
3388d7dc56eSRandy Dunlap	# On arm64, VMALLOC_START < PAGE_OFFSET, which confuses kmem read/write
3398d7dc56eSRandy Dunlap	depends on !ARM64
3408d7dc56eSRandy Dunlap	help
3418d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/kmem device. The
3428d7dc56eSRandy Dunlap	  /dev/kmem device is rarely used, but can be used for certain
3438d7dc56eSRandy Dunlap	  kind of kernel debugging operations.
3448d7dc56eSRandy Dunlap	  When in doubt, say "N".
3458d7dc56eSRandy Dunlap
3468d7dc56eSRandy Dunlapconfig NVRAM
3478d7dc56eSRandy Dunlap	tristate "/dev/nvram support"
3488d7dc56eSRandy Dunlap	depends on X86 || HAVE_ARCH_NVRAM_OPS
3498d7dc56eSRandy Dunlap	default M68K || PPC
350a7f7f624SMasahiro Yamada	help
3518d7dc56eSRandy Dunlap	  If you say Y here and create a character special file /dev/nvram
3528d7dc56eSRandy Dunlap	  with major number 10 and minor number 144 using mknod ("man mknod"),
3538d7dc56eSRandy Dunlap	  you get read and write access to the non-volatile memory.
3548d7dc56eSRandy Dunlap
3558d7dc56eSRandy Dunlap	  /dev/nvram may be used to view settings in NVRAM or to change them
3568d7dc56eSRandy Dunlap	  (with some utility). It could also be used to frequently
3578d7dc56eSRandy Dunlap	  save a few bits of very important data that may not be lost over
3588d7dc56eSRandy Dunlap	  power-off and for which writing to disk is too insecure. Note
3598d7dc56eSRandy Dunlap	  however that most NVRAM space in a PC belongs to the BIOS and you
3608d7dc56eSRandy Dunlap	  should NEVER idly tamper with it. See Ralf Brown's interrupt list
3618d7dc56eSRandy Dunlap	  for a guide to the use of CMOS bytes by your BIOS.
3628d7dc56eSRandy Dunlap
3638d7dc56eSRandy Dunlap	  This memory is conventionally called "NVRAM" on PowerPC machines,
3648d7dc56eSRandy Dunlap	  "CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes.
3658d7dc56eSRandy Dunlap
3668d7dc56eSRandy Dunlap	  To compile this driver as a module, choose M here: the
3678d7dc56eSRandy Dunlap	  module will be called nvram.
3688d7dc56eSRandy Dunlap
3691da177e4SLinus Torvaldsconfig RAW_DRIVER
370abd4aa5aSDave Jones	tristate "RAW driver (/dev/raw/rawN)"
3719361401eSDavid Howells	depends on BLOCK
3721da177e4SLinus Torvalds	help
3731da177e4SLinus Torvalds	  The raw driver permits block devices to be bound to /dev/raw/rawN.
3741da177e4SLinus Torvalds	  Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
3751da177e4SLinus Torvalds	  See the raw(8) manpage for more details.
3761da177e4SLinus Torvalds
377abd4aa5aSDave Jones	  Applications should preferably open the device (eg /dev/hda1)
3781da177e4SLinus Torvalds	  with the O_DIRECT flag.
3791da177e4SLinus Torvalds
3800de502aaSAndrew Mortonconfig MAX_RAW_DEVS
3810078bff5SJan Kara	int "Maximum number of RAW devices to support (1-65536)"
3820de502aaSAndrew Morton	depends on RAW_DRIVER
3837143479aSPaul Bolle	range 1 65536
3840de502aaSAndrew Morton	default "256"
3850de502aaSAndrew Morton	help
3860de502aaSAndrew Morton	  The maximum number of RAW devices that are supported.
3870de502aaSAndrew Morton	  Default is 256. Increase this number in case you need lots of
3880de502aaSAndrew Morton	  raw devices.
3890de502aaSAndrew Morton
3908d7dc56eSRandy Dunlapconfig DEVPORT
3918d7dc56eSRandy Dunlap	bool "/dev/port character device"
3928d7dc56eSRandy Dunlap	depends on ISA || PCI
3938d7dc56eSRandy Dunlap	default y
3948d7dc56eSRandy Dunlap	help
3958d7dc56eSRandy Dunlap	  Say Y here if you want to support the /dev/port device. The /dev/port
3968d7dc56eSRandy Dunlap	  device is similar to /dev/mem, but for I/O ports.
3978d7dc56eSRandy Dunlap
3981da177e4SLinus Torvaldsconfig HPET
3991da177e4SLinus Torvalds	bool "HPET - High Precision Event Timer" if (X86 || IA64)
4001da177e4SLinus Torvalds	default n
4011da177e4SLinus Torvalds	depends on ACPI
4021da177e4SLinus Torvalds	help
4031da177e4SLinus Torvalds	  If you say Y here, you will have a miscdevice named "/dev/hpet/".  Each
4041da177e4SLinus Torvalds	  open selects one of the timers supported by the HPET.  The timers are
4053cb2fcccSMatt LaPlante	  non-periodic and/or periodic.
4061da177e4SLinus Torvalds
4071da177e4SLinus Torvaldsconfig HPET_MMAP
4081da177e4SLinus Torvalds	bool "Allow mmap of HPET"
4091da177e4SLinus Torvalds	default y
4101da177e4SLinus Torvalds	depends on HPET
4111da177e4SLinus Torvalds	help
4121da177e4SLinus Torvalds	  If you say Y here, user applications will be able to mmap
4131da177e4SLinus Torvalds	  the HPET registers.
4141da177e4SLinus Torvalds
4153d035f58SPrarit Bhargavaconfig HPET_MMAP_DEFAULT
4163d035f58SPrarit Bhargava	bool "Enable HPET MMAP access by default"
4173d035f58SPrarit Bhargava	default y
4183d035f58SPrarit Bhargava	depends on HPET_MMAP
4193d035f58SPrarit Bhargava	help
4201da177e4SLinus Torvalds	  In some hardware implementations, the page containing HPET
4211da177e4SLinus Torvalds	  registers may also contain other things that shouldn't be
4223d035f58SPrarit Bhargava	  exposed to the user.  This option selects the default (if
4233d035f58SPrarit Bhargava	  kernel parameter hpet_mmap is not set) user access to the
4243d035f58SPrarit Bhargava	  registers for applications that require it.
4251da177e4SLinus Torvalds
4261da177e4SLinus Torvaldsconfig HANGCHECK_TIMER
4271da177e4SLinus Torvalds	tristate "Hangcheck timer"
428abf3ea1bSMartin Schwidefsky	depends on X86 || IA64 || PPC64 || S390
4291da177e4SLinus Torvalds	help
4301da177e4SLinus Torvalds	  The hangcheck-timer module detects when the system has gone
4311da177e4SLinus Torvalds	  out to lunch past a certain margin.  It can reboot the system
4321da177e4SLinus Torvalds	  or merely print a warning.
4331da177e4SLinus Torvalds
434fbd8ae10SDimitri Sivanichconfig UV_MMTIMER
435fbd8ae10SDimitri Sivanich	tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
436fbd8ae10SDimitri Sivanich	depends on X86_UV
437fbd8ae10SDimitri Sivanich	default m
438fbd8ae10SDimitri Sivanich	help
439fbd8ae10SDimitri Sivanich	  The uv_mmtimer device allows direct userspace access to the
440fbd8ae10SDimitri Sivanich	  UV system timer.
441fbd8ae10SDimitri Sivanich
4421da177e4SLinus Torvaldssource "drivers/char/tpm/Kconfig"
4431da177e4SLinus Torvalds
4441a80ba88SMark Grossconfig TELCLOCK
44503154a27SMark Gross	tristate "Telecom clock driver for ATCA SBC"
44665929215SGreg Kroah-Hartman	depends on X86
4471a80ba88SMark Gross	default n
4481a80ba88SMark Gross	help
44903154a27SMark Gross	  The telecom clock device is specific to the MPCBL0010 and MPCBL0050
45003154a27SMark Gross	  ATCA computers and allows direct userspace access to the
45103154a27SMark Gross	  configuration of the telecom clock configuration settings.  This
45203154a27SMark Gross	  device is used for hardware synchronization across the ATCA backplane
45303154a27SMark Gross	  fabric.  Upon loading, the driver exports a sysfs directory,
45403154a27SMark Gross	  /sys/devices/platform/telco_clock, with a number of files for
45503154a27SMark Gross	  controlling the behavior of this hardware.
4561a80ba88SMark Gross
45761d48c2cSMartin Schwidefskysource "drivers/s390/char/Kconfig"
45861d48c2cSMartin Schwidefsky
4597051924fSEli Billauersource "drivers/char/xillybus/Kconfig"
4607051924fSEli Billauer
461873c38a4STom Hromatkaconfig ADI
462873c38a4STom Hromatka	tristate "SPARC Privileged ADI driver"
463873c38a4STom Hromatka	depends on SPARC64
464873c38a4STom Hromatka	default m
465873c38a4STom Hromatka	help
466873c38a4STom Hromatka	  SPARC M7 and newer processors utilize ADI (Application Data
467873c38a4STom Hromatka	  Integrity) to version and protect memory.  This driver provides
468873c38a4STom Hromatka	  read/write access to the ADI versions for privileged processes.
469873c38a4STom Hromatka	  This feature is also known as MCD (Memory Corruption Detection)
470873c38a4STom Hromatka	  and SSM (Silicon Secured Memory).  Intended consumers of this
471873c38a4STom Hromatka	  driver include crash and makedumpfile.
472873c38a4STom Hromatka
4731da177e4SLinus Torvaldsendmenu
4741da177e4SLinus Torvalds
47539a8883aSTheodore Ts'oconfig RANDOM_TRUST_CPU
47639a8883aSTheodore Ts'o	bool "Trust the CPU manufacturer to initialize Linux's CRNG"
47723ae0c17SRichard Henderson	depends on ARCH_RANDOM
47839a8883aSTheodore Ts'o	default n
47939a8883aSTheodore Ts'o	help
48039a8883aSTheodore Ts'o	Assume that CPU manufacturer (e.g., Intel or AMD for RDSEED or
48139a8883aSTheodore Ts'o	RDRAND, IBM for the S390 and Power PC architectures) is trustworthy
48239a8883aSTheodore Ts'o	for the purposes of initializing Linux's CRNG.  Since this is not
48339a8883aSTheodore Ts'o	something that can be independently audited, this amounts to trusting
48439a8883aSTheodore Ts'o	that CPU manufacturer (perhaps with the insistence or mandate
48539a8883aSTheodore Ts'o	of a Nation State's intelligence or law enforcement agencies)
48639a8883aSTheodore Ts'o	has not installed a hidden back door to compromise the CPU's
4879b254366SKees Cook	random number generation facilities. This can also be configured
4889b254366SKees Cook	at boot with "random.trust_cpu=on/off".
489428826f5SHsin-Yi Wang
490428826f5SHsin-Yi Wangconfig RANDOM_TRUST_BOOTLOADER
491428826f5SHsin-Yi Wang	bool "Trust the bootloader to initialize Linux's CRNG"
492428826f5SHsin-Yi Wang	help
493428826f5SHsin-Yi Wang	Some bootloaders can provide entropy to increase the kernel's initial
494428826f5SHsin-Yi Wang	device randomness. Say Y here to assume the entropy provided by the
495428826f5SHsin-Yi Wang	booloader is trustworthy so it will be added to the kernel's entropy
496428826f5SHsin-Yi Wang	pool. Otherwise, say N here so it will be regarded as device input that
497428826f5SHsin-Yi Wang	only mixes the entropy pool.
498