License cleanup: add SPDX GPL-2.0 license identifier to files with no license
Many source files in the tree are missing licensing information, which
makes it harder for compliance tools to determine the correct license.
By default all files without license information are under the default
license of the kernel, which is GPL version 2.
Update the files which contain no license information with the 'GPL-2.0'
SPDX license identifier. The SPDX identifier is a legally binding
shorthand, which can be used instead of the full boiler plate text.
This patch is based on work done by Thomas Gleixner and Kate Stewart and
Philippe Ombredanne.
How this work was done:
Patches were generated and checked against linux-4.14-rc6 for a subset of
the use cases:
- file had no licensing information it it.
- file was a */uapi/* one with no licensing information in it,
- file was a */uapi/* one with existing licensing information,
Further patches will be generated in subsequent months to fix up cases
where non-standard license headers were used, and references to license
had to be inferred by heuristics based on keywords.
The analysis to determine which SPDX License Identifier to be applied to
a file was done in a spreadsheet of side by side results from of the
output of two independent scanners (ScanCode & Windriver) producing SPDX
tag:value files created by Philippe Ombredanne. Philippe prepared the
base worksheet, and did an initial spot review of a few 1000 files.
The 4.13 kernel was the starting point of the analysis with 60,537 files
assessed. Kate Stewart did a file by file comparison of the scanner
results in the spreadsheet to determine which SPDX license identifier(s)
to be applied to the file. She confirmed any determination that was not
immediately clear with lawyers working with the Linux Foundation.
Criteria used to select files for SPDX license identifier tagging was:
- Files considered eligible had to be source code files.
- Make and config files were included as candidates if they contained >5
lines of source
- File already had some variant of a license header in it (even if <5
lines).
All documentation files were explicitly excluded.
The following heuristics were used to determine which SPDX license
identifiers to apply.
- when both scanners couldn't find any license traces, file was
considered to have no license information in it, and the top level
COPYING file license applied.
For non */uapi/* files that summary was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 11139
and resulted in the first patch in this series.
If that file was a */uapi/* path one, it was "GPL-2.0 WITH
Linux-syscall-note" otherwise it was "GPL-2.0". Results of that was:
SPDX license identifier # files
---------------------------------------------------|-------
GPL-2.0 WITH Linux-syscall-note 930
and resulted in the second patch in this series.
- if a file had some form of licensing information in it, and was one
of the */uapi/* ones, it was denoted with the Linux-syscall-note if
any GPL family license was found in the file or had no licensing in
it (per prior point). Results summary:
SPDX license identifier # files
---------------------------------------------------|------
GPL-2.0 WITH Linux-syscall-note 270
GPL-2.0+ WITH Linux-syscall-note 169
((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) 21
((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 17
LGPL-2.1+ WITH Linux-syscall-note 15
GPL-1.0+ WITH Linux-syscall-note 14
((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause) 5
LGPL-2.0+ WITH Linux-syscall-note 4
LGPL-2.1 WITH Linux-syscall-note 3
((GPL-2.0 WITH Linux-syscall-note) OR MIT) 3
((GPL-2.0 WITH Linux-syscall-note) AND MIT) 1
and that resulted in the third patch in this series.
- when the two scanners agreed on the detected license(s), that became
the concluded license(s).
- when there was disagreement between the two scanners (one detected a
license but the other didn't, or they both detected different
licenses) a manual inspection of the file occurred.
- In most cases a manual inspection of the information in the file
resulted in a clear resolution of the license that should apply (and
which scanner probably needed to revisit its heuristics).
- When it was not immediately clear, the license identifier was
confirmed with lawyers working with the Linux Foundation.
- If there was any question as to the appropriate license identifier,
the file was flagged for further research and to be revisited later
in time.
In total, over 70 hours of logged manual review was done on the
spreadsheet to determine the SPDX license identifiers to apply to the
source files by Kate, Philippe, Thomas and, in some cases, confirmation
by lawyers working with the Linux Foundation.
Kate also obtained a third independent scan of the 4.13 code base from
FOSSology, and compared selected files where the other two scanners
disagreed against that SPDX file, to see if there was new insights. The
Windriver scanner is based on an older version of FOSSology in part, so
they are related.
Thomas did random spot checks in about 500 files from the spreadsheets
for the uapi headers and agreed with SPDX license identifier in the
files he inspected. For the non-uapi files Thomas did random spot checks
in about 15000 files.
In initial set of patches against 4.14-rc6, 3 files were found to have
copy/paste license identifier errors, and have been fixed to reflect the
correct identifier.
Additionally Philippe spent 10 hours this week doing a detailed manual
inspection and review of the 12,461 patched files from the initial patch
version early this week with:
- a full scancode scan run, collecting the matched texts, detected
license ids and scores
- reviewing anything where there was a license detected (about 500+
files) to ensure that the applied SPDX license was correct
- reviewing anything where there was no detection but the patch license
was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
SPDX license was correct
This produced a worksheet with 20 files needing minor correction. This
worksheet was then exported into 3 different .csv files for the
different types of files to be modified.
These .csv files were then reviewed by Greg. Thomas wrote a script to
parse the csv files and add the proper SPDX tag to the file, in the
format that the file expected. This script was further refined by Greg
based on the output to detect more types of files automatically and to
distinguish between header and source .c files (which need different
comment types.) Finally Greg ran the script using the .csv files to
generate the patches.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-01 22:07:57 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Character device configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Character devices"
|
|
|
|
|
2011-02-23 07:41:47 +08:00
|
|
|
source "drivers/tty/Kconfig"
|
2006-06-26 15:27:12 +08:00
|
|
|
|
2014-12-07 23:40:33 +08:00
|
|
|
config DEVMEM
|
|
|
|
bool "/dev/mem virtual device support"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Say Y here if you want to support the /dev/mem device.
|
|
|
|
The /dev/mem device is used to access areas of physical
|
|
|
|
memory.
|
|
|
|
When in doubt, say "Y".
|
|
|
|
|
2008-04-29 15:58:34 +08:00
|
|
|
config DEVKMEM
|
|
|
|
bool "/dev/kmem virtual device support"
|
drivers/char: kmem: disable on arm64
As it turns out, arm64 deviates from other architectures in the way it
maps the VMALLOC region: on most (all?) other architectures, it resides
strictly above the kernel's direct mapping of DRAM, but on arm64, this
is the other way around. For instance, for a 48-bit VA configuration,
we have
modules : 0xffff000000000000 - 0xffff000008000000 ( 128 MB)
vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 GB)
...
vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 GB maximum)
0xffff7e0000000000 - 0xffff7e0003ff0000 ( 63 MB actual)
memory : 0xffff800000000000 - 0xffff8000ffc00000 ( 4092 MB)
This has mostly gone unnoticed until now, but it does appear that it
breaks an assumption in the kmem read/write code, which does something
like
if (p < (unsigned long) high_memory) {
... use straight copy_[to|from]_user() using p as virtual address ...
}
...
if (count > 0) {
... use vread/vwrite for accesses past high_memory ...
}
The first condition will inadvertently hold for the VMALLOC region if
VMALLOC_START < PAGE_OFFSET [which is the case on arm64], but the read
or write will subsequently fail the virt_addr_valid() check, resulting
in a -ENXIO return value.
Given how kmem seems to be living in borrowed time anyway, and given
the fact that nobody noticed that the read/write interface is broken
on arm64 in the first place, let's not bother trying to fix it, but
simply disable the /dev/kmem interface entirely for arm64.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-06-20 14:59:00 +08:00
|
|
|
# On arm64, VMALLOC_START < PAGE_OFFSET, which confuses kmem read/write
|
|
|
|
depends on !ARM64
|
2008-04-29 15:58:34 +08:00
|
|
|
help
|
|
|
|
Say Y here if you want to support the /dev/kmem device. The
|
|
|
|
/dev/kmem device is rarely used, but can be used for certain
|
|
|
|
kind of kernel debugging operations.
|
|
|
|
When in doubt, say "N".
|
|
|
|
|
2011-01-14 04:10:18 +08:00
|
|
|
source "drivers/tty/serial/Kconfig"
|
2017-02-03 03:48:07 +08:00
|
|
|
source "drivers/tty/serdev/Kconfig"
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2010-08-26 02:44:07 +08:00
|
|
|
config TTY_PRINTK
|
2014-04-02 20:45:22 +08:00
|
|
|
tristate "TTY driver to output user messages via printk"
|
2013-01-18 14:44:22 +08:00
|
|
|
depends on EXPERT && TTY
|
2010-08-26 02:44:07 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If you say Y here, the support for writing user messages (i.e.
|
|
|
|
console messages) via printk is available.
|
|
|
|
|
|
|
|
The feature is useful to inline user messages with kernel
|
|
|
|
messages.
|
|
|
|
In order to use this feature, you should output user messages
|
|
|
|
to /dev/ttyprintk or redirect console to this TTY.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2018-11-07 06:11:37 +08:00
|
|
|
config TTY_PRINTK_LEVEL
|
|
|
|
depends on TTY_PRINTK
|
|
|
|
int "ttyprintk log level (1-7)"
|
|
|
|
range 1 7
|
|
|
|
default "6"
|
|
|
|
help
|
|
|
|
Printk log level to use for ttyprintk messages.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config PRINTER
|
|
|
|
tristate "Parallel printer support"
|
|
|
|
depends on PARPORT
|
|
|
|
---help---
|
|
|
|
If you intend to attach a printer to the parallel port of your Linux
|
|
|
|
box (as opposed to using a serial printer; if the connector at the
|
|
|
|
printer has 9 or 25 holes ["female"], then it's serial), say Y.
|
|
|
|
Also read the Printing-HOWTO, available from
|
|
|
|
<http://www.tldp.org/docs.html#howto>.
|
|
|
|
|
|
|
|
It is possible to share one parallel port among several devices
|
|
|
|
(e.g. printer and ZIP drive) and it is safe to compile the
|
|
|
|
corresponding drivers into the kernel.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here and read
|
2018-05-09 02:14:57 +08:00
|
|
|
<file:Documentation/admin-guide/parport.rst>. The module will be called lp.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
If you have several parallel ports, you can specify which ports to
|
|
|
|
use with the "lp" kernel command line option. (Try "man bootparam"
|
|
|
|
or see the documentation of your boot loader (lilo or loadlin) about
|
|
|
|
how to pass options to the kernel at boot time.) The syntax of the
|
|
|
|
"lp" command line option can be found in <file:drivers/char/lp.c>.
|
|
|
|
|
|
|
|
If you have more than 8 printers, you need to increase the LP_NO
|
|
|
|
macro in lp.c and the PARPORT_MAX macro in parport.h.
|
|
|
|
|
|
|
|
config LP_CONSOLE
|
|
|
|
bool "Support for console on line printer"
|
|
|
|
depends on PRINTER
|
|
|
|
---help---
|
|
|
|
If you want kernel messages to be printed out as they occur, you
|
|
|
|
can have a console on the printer. This option adds support for
|
|
|
|
doing that; to actually get it to happen you need to pass the
|
|
|
|
option "console=lp0" to the kernel at boot time.
|
|
|
|
|
|
|
|
If the printer is out of paper (or off, or unplugged, or too
|
|
|
|
busy..) the kernel will stall until the printer is ready again.
|
|
|
|
By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
|
|
|
|
can make the kernel continue when this happens,
|
|
|
|
but it'll lose the kernel messages.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config PPDEV
|
|
|
|
tristate "Support for user-space parallel port device drivers"
|
|
|
|
depends on PARPORT
|
|
|
|
---help---
|
|
|
|
Saying Y to this adds support for /dev/parport device nodes. This
|
|
|
|
is needed for programs that want portable access to the parallel
|
|
|
|
port, for instance deviceid (which displays Plug-and-Play device
|
|
|
|
IDs).
|
|
|
|
|
|
|
|
This is the parallel port equivalent of SCSI generic support (sg).
|
|
|
|
It is safe to say N to this -- it is not needed for normal printing
|
|
|
|
or parallel port CD-ROM/disk support.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called ppdev.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2011-02-23 07:41:47 +08:00
|
|
|
source "drivers/tty/hvc/Kconfig"
|
2011-02-05 09:45:49 +08:00
|
|
|
|
2007-10-22 09:03:39 +08:00
|
|
|
config VIRTIO_CONSOLE
|
2008-07-26 01:06:06 +08:00
|
|
|
tristate "Virtio console"
|
2013-01-18 14:44:22 +08:00
|
|
|
depends on VIRTIO && TTY
|
2007-10-22 09:03:39 +08:00
|
|
|
select HVC_DRIVER
|
2008-07-26 01:06:06 +08:00
|
|
|
help
|
2017-08-17 01:31:57 +08:00
|
|
|
Virtio console for use with hypervisors.
|
2008-07-26 01:06:06 +08:00
|
|
|
|
2009-12-22 00:06:04 +08:00
|
|
|
Also serves as a general-purpose serial device for data
|
|
|
|
transfer between the guest and host. Character devices at
|
|
|
|
/dev/vportNpn will be created when corresponding ports are
|
|
|
|
found, where N is the device number and n is the port number
|
|
|
|
within that device. If specified by the host, a sysfs
|
|
|
|
attribute called 'name' will be populated with a name for
|
|
|
|
the port which can be used by udev scripts to create a
|
|
|
|
symlink to the device.
|
2007-10-22 09:03:39 +08:00
|
|
|
|
2008-07-08 13:45:11 +08:00
|
|
|
config IBM_BSR
|
|
|
|
tristate "IBM POWER Barrier Synchronization Register support"
|
|
|
|
depends on PPC_PSERIES
|
|
|
|
help
|
|
|
|
This devices exposes a hardware mechanism for fast synchronization
|
|
|
|
of threads across a large system which avoids bouncing a cacheline
|
|
|
|
between several cores on a system
|
|
|
|
|
2016-06-29 11:38:39 +08:00
|
|
|
config POWERNV_OP_PANEL
|
|
|
|
tristate "IBM POWERNV Operator Panel Display support"
|
|
|
|
depends on PPC_POWERNV
|
|
|
|
default m
|
|
|
|
help
|
|
|
|
If you say Y here, a special character device node, /dev/op_panel,
|
|
|
|
will be created which exposes the operator panel display on IBM
|
|
|
|
Power Systems machines with FSPs.
|
|
|
|
|
|
|
|
If you don't require access to the operator panel display from user
|
|
|
|
space, say N.
|
|
|
|
|
|
|
|
If unsure, say M here to build it as a module called powernv-op-panel.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source "drivers/char/ipmi/Kconfig"
|
|
|
|
|
|
|
|
config DS1620
|
|
|
|
tristate "NetWinder thermometer support"
|
|
|
|
depends on ARCH_NETWINDER
|
|
|
|
help
|
|
|
|
Say Y here to include support for the thermal management hardware
|
|
|
|
found in the NetWinder. This driver allows the user to control the
|
|
|
|
temperature set points and to read the current temperature.
|
|
|
|
|
|
|
|
It is also possible to say M here to build it as a module (ds1620)
|
|
|
|
It is recommended to be used on a NetWinder, but it is not a
|
|
|
|
necessity.
|
|
|
|
|
|
|
|
config NWBUTTON
|
|
|
|
tristate "NetWinder Button"
|
|
|
|
depends on ARCH_NETWINDER
|
|
|
|
---help---
|
|
|
|
If you say Y here and create a character device node /dev/nwbutton
|
|
|
|
with major and minor numbers 10 and 158 ("man mknod"), then every
|
|
|
|
time the orange button is pressed a number of times, the number of
|
|
|
|
times the button was pressed will be written to that device.
|
|
|
|
|
|
|
|
This is most useful for applications, as yet unwritten, which
|
|
|
|
perform actions based on how many times the button is pressed in a
|
|
|
|
row.
|
|
|
|
|
|
|
|
Do not hold the button down for too long, as the driver does not
|
|
|
|
alter the behaviour of the hardware reset circuitry attached to the
|
|
|
|
button; it will still execute a hard reset if the button is held
|
|
|
|
down for longer than approximately five seconds.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called nwbutton.
|
|
|
|
|
|
|
|
Most people will answer Y to this question and "Reboot Using Button"
|
|
|
|
below to be able to initiate a system shutdown from the button.
|
|
|
|
|
|
|
|
config NWBUTTON_REBOOT
|
|
|
|
bool "Reboot Using Button"
|
|
|
|
depends on NWBUTTON
|
|
|
|
help
|
|
|
|
If you say Y here, then you will be able to initiate a system
|
|
|
|
shutdown and reboot by pressing the orange button a number of times.
|
|
|
|
The number of presses to initiate the shutdown is two by default,
|
|
|
|
but this can be altered by modifying the value of NUM_PRESSES_REBOOT
|
|
|
|
in nwbutton.h and recompiling the driver or, if you compile the
|
|
|
|
driver as a module, you can specify the number of presses at load
|
|
|
|
time with "insmod button reboot_count=<something>".
|
|
|
|
|
|
|
|
config NWFLASH
|
|
|
|
tristate "NetWinder flash support"
|
|
|
|
depends on ARCH_NETWINDER
|
|
|
|
---help---
|
|
|
|
If you say Y here and create a character device /dev/flash with
|
|
|
|
major 10 and minor 160 you can manipulate the flash ROM containing
|
|
|
|
the NetWinder firmware. Be careful as accidentally overwriting the
|
|
|
|
flash contents can render your computer unbootable. On no account
|
|
|
|
allow random users access to this device. :-)
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called nwflash.
|
|
|
|
|
|
|
|
If you're not sure, say N.
|
|
|
|
|
2006-06-26 15:24:59 +08:00
|
|
|
source "drivers/char/hw_random/Kconfig"
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config NVRAM
|
|
|
|
tristate "/dev/nvram support"
|
2019-01-15 12:18:56 +08:00
|
|
|
depends on X86 || HAVE_ARCH_NVRAM_OPS
|
|
|
|
default M68K || PPC
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
|
|
|
If you say Y here and create a character special file /dev/nvram
|
|
|
|
with major number 10 and minor number 144 using mknod ("man mknod"),
|
2019-01-15 12:18:56 +08:00
|
|
|
you get read and write access to the non-volatile memory.
|
|
|
|
|
|
|
|
/dev/nvram may be used to view settings in NVRAM or to change them
|
|
|
|
(with some utility). It could also be used to frequently
|
2005-04-17 06:20:36 +08:00
|
|
|
save a few bits of very important data that may not be lost over
|
|
|
|
power-off and for which writing to disk is too insecure. Note
|
|
|
|
however that most NVRAM space in a PC belongs to the BIOS and you
|
|
|
|
should NEVER idly tamper with it. See Ralf Brown's interrupt list
|
|
|
|
for a guide to the use of CMOS bytes by your BIOS.
|
|
|
|
|
2019-01-15 12:18:56 +08:00
|
|
|
This memory is conventionally called "NVRAM" on PowerPC machines,
|
|
|
|
"CMOS RAM" on PCs, "NVRAM" on Ataris and "PRAM" on Macintoshes.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called nvram.
|
|
|
|
|
2008-04-28 17:11:52 +08:00
|
|
|
#
|
|
|
|
# These legacy RTC drivers just cause too many conflicts with the generic
|
|
|
|
# RTC framework ... let's not even try to coexist any more.
|
|
|
|
#
|
|
|
|
if RTC_LIB=n
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config RTC
|
2008-06-13 06:21:55 +08:00
|
|
|
tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
|
2018-08-28 22:26:30 +08:00
|
|
|
depends on ALPHA
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
|
|
|
If you say Y here and create a character special file /dev/rtc with
|
|
|
|
major number 10 and minor number 135 using mknod ("man mknod"), you
|
|
|
|
will get access to the real time clock (or hardware clock) built
|
|
|
|
into your computer.
|
|
|
|
|
|
|
|
Every PC has such a clock built in. It can be used to generate
|
|
|
|
signals from as low as 1Hz up to 8192Hz, and can also be used
|
|
|
|
as a 24 hour alarm. It reports status information via the file
|
|
|
|
/proc/driver/rtc and its behaviour is set by various ioctls on
|
|
|
|
/dev/rtc.
|
|
|
|
|
|
|
|
If you run Linux on a multiprocessor machine and said Y to
|
|
|
|
"Symmetric Multi Processing" above, you should say Y here to read
|
|
|
|
and set the RTC in an SMP compatible fashion.
|
|
|
|
|
|
|
|
If you think you have a use for such a device (such as periodic data
|
2019-06-28 01:56:51 +08:00
|
|
|
sampling), then say Y here, and read <file:Documentation/admin-guide/rtc.rst>
|
2005-04-17 06:20:36 +08:00
|
|
|
for details.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called rtc.
|
|
|
|
|
2007-07-22 15:37:48 +08:00
|
|
|
config JS_RTC
|
|
|
|
tristate "Enhanced Real Time Clock Support"
|
|
|
|
depends on SPARC32 && PCI
|
|
|
|
---help---
|
|
|
|
If you say Y here and create a character special file /dev/rtc with
|
|
|
|
major number 10 and minor number 135 using mknod ("man mknod"), you
|
|
|
|
will get access to the real time clock (or hardware clock) built
|
|
|
|
into your computer.
|
|
|
|
|
|
|
|
Every PC has such a clock built in. It can be used to generate
|
|
|
|
signals from as low as 1Hz up to 8192Hz, and can also be used
|
|
|
|
as a 24 hour alarm. It reports status information via the file
|
|
|
|
/proc/driver/rtc and its behaviour is set by various ioctls on
|
|
|
|
/dev/rtc.
|
|
|
|
|
|
|
|
If you think you have a use for such a device (such as periodic data
|
2019-06-28 01:56:51 +08:00
|
|
|
sampling), then say Y here, and read <file:Documentation/admin-guide/rtc.rst>
|
2007-07-22 15:37:48 +08:00
|
|
|
for details.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called js-rtc.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config EFI_RTC
|
|
|
|
bool "EFI Real Time Clock Services"
|
|
|
|
depends on IA64
|
|
|
|
|
2008-04-28 17:11:52 +08:00
|
|
|
endif # RTC_LIB
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config DTLK
|
|
|
|
tristate "Double Talk PC internal speech card support"
|
2007-05-10 21:45:56 +08:00
|
|
|
depends on ISA
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
This driver is for the DoubleTalk PC, a speech synthesizer
|
|
|
|
manufactured by RC Systems (<http://www.rcsys.com/>). It is also
|
|
|
|
called the `internal DoubleTalk'.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called dtlk.
|
|
|
|
|
2008-02-06 01:24:09 +08:00
|
|
|
config XILINX_HWICAP
|
|
|
|
tristate "Xilinx HWICAP Support"
|
2009-05-11 21:49:12 +08:00
|
|
|
depends on XILINX_VIRTEX || MICROBLAZE
|
2008-02-06 01:24:09 +08:00
|
|
|
help
|
|
|
|
This option enables support for Xilinx Internal Configuration
|
|
|
|
Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
|
|
|
|
FPGA platforms to partially reconfigure the FPGA at runtime.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config R3964
|
|
|
|
tristate "Siemens R3964 line discipline"
|
2019-04-05 21:39:26 +08:00
|
|
|
depends on TTY && BROKEN
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
|
|
|
This driver allows synchronous communication with devices using the
|
|
|
|
Siemens R3964 packet protocol. Unless you are dealing with special
|
|
|
|
hardware like PLCs, you are unlikely to need this.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called n_r3964.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config APPLICOM
|
|
|
|
tristate "Applicom intelligent fieldbus card support"
|
|
|
|
depends on PCI
|
|
|
|
---help---
|
|
|
|
This driver provides the kernel-side support for the intelligent
|
|
|
|
fieldbus cards made by Applicom International. More information
|
|
|
|
about these cards can be found on the WWW at the address
|
|
|
|
<http://www.applicom-int.com/>, or by email from David Woodhouse
|
|
|
|
<dwmw2@infradead.org>.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called applicom.
|
|
|
|
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config SONYPI
|
2012-09-18 23:14:53 +08:00
|
|
|
tristate "Sony Vaio Programmable I/O Control Device support"
|
2014-03-31 21:15:36 +08:00
|
|
|
depends on X86_32 && PCI && INPUT
|
2005-04-17 06:20:36 +08:00
|
|
|
---help---
|
|
|
|
This driver enables access to the Sony Programmable I/O Control
|
|
|
|
Device which can be found in many (all ?) Sony Vaio laptops.
|
|
|
|
|
|
|
|
If you have one of those laptops, read
|
2019-06-14 02:07:43 +08:00
|
|
|
<file:Documentation/admin-guide/laptops/sonypi.rst>, and say Y or M here.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called sonypi.
|
|
|
|
|
2007-05-07 05:51:58 +08:00
|
|
|
config GPIO_TB0219
|
|
|
|
tristate "TANBAC TB0219 GPIO support"
|
2006-12-13 03:04:19 +08:00
|
|
|
depends on TANBAC_TB022X
|
2006-06-25 20:49:11 +08:00
|
|
|
select GPIO_VR41XX
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
source "drivers/char/pcmcia/Kconfig"
|
|
|
|
|
|
|
|
config MWAVE
|
|
|
|
tristate "ACP Modem (Mwave) support"
|
2013-01-18 14:44:22 +08:00
|
|
|
depends on X86 && TTY
|
2005-04-17 06:20:36 +08:00
|
|
|
select SERIAL_8250
|
|
|
|
---help---
|
|
|
|
The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
|
|
|
|
kernel driver and a user level application. Together these components
|
|
|
|
support direct attachment to public switched telephone networks (PSTNs)
|
|
|
|
and support selected world wide countries.
|
|
|
|
|
|
|
|
This version of the ACP Modem driver supports the IBM Thinkpad 600E,
|
|
|
|
600, and 770 that include on board ACP modem hardware.
|
|
|
|
|
|
|
|
The modem also supports the standard communications port interface
|
|
|
|
(ttySx) and is compatible with the Hayes AT Command Set.
|
|
|
|
|
|
|
|
The user level application needed to use this driver can be found at
|
|
|
|
the IBM Linux Technology Center (LTC) web site:
|
|
|
|
<http://www.ibm.com/linux/ltc/>.
|
|
|
|
|
|
|
|
If you own one of the above IBM Thinkpads which has the Mwave chipset
|
|
|
|
in it, say Y.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called mwave.
|
|
|
|
|
|
|
|
config SCx200_GPIO
|
|
|
|
tristate "NatSemi SCx200 GPIO Support"
|
|
|
|
depends on SCx200
|
2006-06-27 17:54:27 +08:00
|
|
|
select NSC_GPIO
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
Give userspace access to the GPIO pins on the National
|
|
|
|
Semiconductor SCx200 processors.
|
|
|
|
|
|
|
|
If compiled as a module, it will be called scx200_gpio.
|
|
|
|
|
2006-06-27 17:54:27 +08:00
|
|
|
config PC8736x_GPIO
|
|
|
|
tristate "NatSemi PC8736x GPIO Support"
|
2011-08-19 03:11:59 +08:00
|
|
|
depends on X86_32 && !UML
|
2006-06-27 17:54:27 +08:00
|
|
|
default SCx200_GPIO # mostly N
|
|
|
|
select NSC_GPIO # needed for support routines
|
|
|
|
help
|
|
|
|
Give userspace access to the GPIO pins on the National
|
|
|
|
Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
|
|
|
|
has multiple functional units, inc several managed by
|
|
|
|
hwmon/pc87360 driver. Tested with PC-87366
|
|
|
|
|
|
|
|
If compiled as a module, it will be called pc8736x_gpio.
|
|
|
|
|
|
|
|
config NSC_GPIO
|
|
|
|
tristate "NatSemi Base GPIO Support"
|
2006-06-29 17:24:32 +08:00
|
|
|
depends on X86_32
|
2006-06-27 17:54:27 +08:00
|
|
|
# selected by SCx200_GPIO and PC8736x_GPIO
|
|
|
|
# what about 2 selectors differing: m != y
|
|
|
|
help
|
|
|
|
Common support used (and needed) by scx200_gpio and
|
|
|
|
pc8736x_gpio drivers. If those drivers are built as
|
|
|
|
modules, this one will be too, named nsc_gpio
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config RAW_DRIVER
|
2007-07-16 14:40:49 +08:00
|
|
|
tristate "RAW driver (/dev/raw/rawN)"
|
[PATCH] BLOCK: Make it possible to disable the block layer [try #6]
Make it possible to disable the block layer. Not all embedded devices require
it, some can make do with just JFFS2, NFS, ramfs, etc - none of which require
the block layer to be present.
This patch does the following:
(*) Introduces CONFIG_BLOCK to disable the block layer, buffering and blockdev
support.
(*) Adds dependencies on CONFIG_BLOCK to any configuration item that controls
an item that uses the block layer. This includes:
(*) Block I/O tracing.
(*) Disk partition code.
(*) All filesystems that are block based, eg: Ext3, ReiserFS, ISOFS.
(*) The SCSI layer. As far as I can tell, even SCSI chardevs use the
block layer to do scheduling. Some drivers that use SCSI facilities -
such as USB storage - end up disabled indirectly from this.
(*) Various block-based device drivers, such as IDE and the old CDROM
drivers.
(*) MTD blockdev handling and FTL.
(*) JFFS - which uses set_bdev_super(), something it could avoid doing by
taking a leaf out of JFFS2's book.
(*) Makes most of the contents of linux/blkdev.h, linux/buffer_head.h and
linux/elevator.h contingent on CONFIG_BLOCK being set. sector_div() is,
however, still used in places, and so is still available.
(*) Also made contingent are the contents of linux/mpage.h, linux/genhd.h and
parts of linux/fs.h.
(*) Makes a number of files in fs/ contingent on CONFIG_BLOCK.
(*) Makes mm/bounce.c (bounce buffering) contingent on CONFIG_BLOCK.
(*) set_page_dirty() doesn't call __set_page_dirty_buffers() if CONFIG_BLOCK
is not enabled.
(*) fs/no-block.c is created to hold out-of-line stubs and things that are
required when CONFIG_BLOCK is not set:
(*) Default blockdev file operations (to give error ENODEV on opening).
(*) Makes some /proc changes:
(*) /proc/devices does not list any blockdevs.
(*) /proc/diskstats and /proc/partitions are contingent on CONFIG_BLOCK.
(*) Makes some compat ioctl handling contingent on CONFIG_BLOCK.
(*) If CONFIG_BLOCK is not defined, makes sys_quotactl() return -ENODEV if
given command other than Q_SYNC or if a special device is specified.
(*) In init/do_mounts.c, no reference is made to the blockdev routines if
CONFIG_BLOCK is not defined. This does not prohibit NFS roots or JFFS2.
(*) The bdflush, ioprio_set and ioprio_get syscalls can now be absent (return
error ENOSYS by way of cond_syscall if so).
(*) The seclvl_bd_claim() and seclvl_bd_release() security calls do nothing if
CONFIG_BLOCK is not set, since they can't then happen.
Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2006-10-01 02:45:40 +08:00
|
|
|
depends on BLOCK
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
2007-07-16 14:40:49 +08:00
|
|
|
The raw driver permits block devices to be bound to /dev/raw/rawN.
|
|
|
|
Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
|
2005-04-17 06:20:36 +08:00
|
|
|
See the raw(8) manpage for more details.
|
|
|
|
|
2007-07-16 14:40:49 +08:00
|
|
|
Applications should preferably open the device (eg /dev/hda1)
|
2005-04-17 06:20:36 +08:00
|
|
|
with the O_DIRECT flag.
|
|
|
|
|
2005-12-12 16:37:41 +08:00
|
|
|
config MAX_RAW_DEVS
|
2011-04-29 06:24:29 +08:00
|
|
|
int "Maximum number of RAW devices to support (1-65536)"
|
2005-12-12 16:37:41 +08:00
|
|
|
depends on RAW_DRIVER
|
2014-02-05 06:23:40 +08:00
|
|
|
range 1 65536
|
2005-12-12 16:37:41 +08:00
|
|
|
default "256"
|
|
|
|
help
|
|
|
|
The maximum number of RAW devices that are supported.
|
|
|
|
Default is 256. Increase this number in case you need lots of
|
|
|
|
raw devices.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
config HPET
|
|
|
|
bool "HPET - High Precision Event Timer" if (X86 || IA64)
|
|
|
|
default n
|
|
|
|
depends on ACPI
|
|
|
|
help
|
|
|
|
If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
|
|
|
|
open selects one of the timers supported by the HPET. The timers are
|
2006-11-30 12:22:59 +08:00
|
|
|
non-periodic and/or periodic.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config HPET_MMAP
|
|
|
|
bool "Allow mmap of HPET"
|
|
|
|
default y
|
|
|
|
depends on HPET
|
|
|
|
help
|
|
|
|
If you say Y here, user applications will be able to mmap
|
|
|
|
the HPET registers.
|
|
|
|
|
2013-11-13 07:08:33 +08:00
|
|
|
config HPET_MMAP_DEFAULT
|
|
|
|
bool "Enable HPET MMAP access by default"
|
|
|
|
default y
|
|
|
|
depends on HPET_MMAP
|
|
|
|
help
|
2005-04-17 06:20:36 +08:00
|
|
|
In some hardware implementations, the page containing HPET
|
|
|
|
registers may also contain other things that shouldn't be
|
2013-11-13 07:08:33 +08:00
|
|
|
exposed to the user. This option selects the default (if
|
|
|
|
kernel parameter hpet_mmap is not set) user access to the
|
|
|
|
registers for applications that require it.
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
config HANGCHECK_TIMER
|
|
|
|
tristate "Hangcheck timer"
|
2007-05-10 21:45:59 +08:00
|
|
|
depends on X86 || IA64 || PPC64 || S390
|
2005-04-17 06:20:36 +08:00
|
|
|
help
|
|
|
|
The hangcheck-timer module detects when the system has gone
|
|
|
|
out to lunch past a certain margin. It can reboot the system
|
|
|
|
or merely print a warning.
|
|
|
|
|
2009-09-24 06:57:15 +08:00
|
|
|
config UV_MMTIMER
|
|
|
|
tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
|
|
|
|
depends on X86_UV
|
|
|
|
default m
|
|
|
|
help
|
|
|
|
The uv_mmtimer device allows direct userspace access to the
|
|
|
|
UV system timer.
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
source "drivers/char/tpm/Kconfig"
|
|
|
|
|
2005-10-31 07:02:55 +08:00
|
|
|
config TELCLOCK
|
2007-03-07 05:58:45 +08:00
|
|
|
tristate "Telecom clock driver for ATCA SBC"
|
2012-09-18 23:14:53 +08:00
|
|
|
depends on X86
|
2005-10-31 07:02:55 +08:00
|
|
|
default n
|
|
|
|
help
|
2007-03-07 05:58:45 +08:00
|
|
|
The telecom clock device is specific to the MPCBL0010 and MPCBL0050
|
|
|
|
ATCA computers and allows direct userspace access to the
|
|
|
|
configuration of the telecom clock configuration settings. This
|
|
|
|
device is used for hardware synchronization across the ATCA backplane
|
|
|
|
fabric. Upon loading, the driver exports a sysfs directory,
|
|
|
|
/sys/devices/platform/telco_clock, with a number of files for
|
|
|
|
controlling the behavior of this hardware.
|
2005-10-31 07:02:55 +08:00
|
|
|
|
2007-05-08 15:28:17 +08:00
|
|
|
config DEVPORT
|
2017-01-04 00:18:07 +08:00
|
|
|
bool "/dev/port character device"
|
2007-05-08 15:28:17 +08:00
|
|
|
depends on ISA || PCI
|
|
|
|
default y
|
2017-01-04 00:18:07 +08:00
|
|
|
help
|
|
|
|
Say Y here if you want to support the /dev/port device. The /dev/port
|
|
|
|
device is similar to /dev/mem, but for I/O ports.
|
2007-05-08 15:28:17 +08:00
|
|
|
|
2007-05-10 21:46:00 +08:00
|
|
|
source "drivers/s390/char/Kconfig"
|
|
|
|
|
2014-09-09 14:36:04 +08:00
|
|
|
source "drivers/char/xillybus/Kconfig"
|
|
|
|
|
2018-04-27 00:54:08 +08:00
|
|
|
config ADI
|
|
|
|
tristate "SPARC Privileged ADI driver"
|
|
|
|
depends on SPARC64
|
|
|
|
default m
|
|
|
|
help
|
|
|
|
SPARC M7 and newer processors utilize ADI (Application Data
|
|
|
|
Integrity) to version and protect memory. This driver provides
|
|
|
|
read/write access to the ADI versions for privileged processes.
|
|
|
|
This feature is also known as MCD (Memory Corruption Detection)
|
|
|
|
and SSM (Silicon Secured Memory). Intended consumers of this
|
|
|
|
driver include crash and makedumpfile.
|
|
|
|
|
2018-07-18 06:24:27 +08:00
|
|
|
config RANDOM_TRUST_CPU
|
2024-06-12 13:13:20 +08:00
|
|
|
bool "Initialize RNG using CPU RNG instructions"
|
|
|
|
default y
|
|
|
|
depends on ARCH_RANDOM
|
2018-07-18 06:24:27 +08:00
|
|
|
help
|
2024-06-12 13:13:20 +08:00
|
|
|
Initialize the RNG using random numbers supplied by the CPU's
|
|
|
|
RNG instructions (e.g. RDRAND), if supported and available. These
|
|
|
|
random numbers are never used directly, but are rather hashed into
|
|
|
|
the main input pool, and this happens regardless of whether or not
|
|
|
|
this option is enabled. Instead, this option controls whether the
|
|
|
|
they are credited and hence can initialize the RNG. Additionally,
|
|
|
|
other sources of randomness are always used, regardless of this
|
|
|
|
setting. Enabling this implies trusting that the CPU can supply high
|
|
|
|
quality and non-backdoored random numbers.
|
|
|
|
|
|
|
|
Say Y here unless you have reason to mistrust your CPU or believe
|
|
|
|
its RNG facilities may be faulty. This may also be configured at
|
|
|
|
boot time with "random.trust_cpu=on/off".
|
2019-08-23 14:24:51 +08:00
|
|
|
|
|
|
|
config RANDOM_TRUST_BOOTLOADER
|
2024-06-12 13:13:20 +08:00
|
|
|
bool "Initialize RNG using bootloader-supplied seed"
|
|
|
|
default y
|
2019-08-23 14:24:51 +08:00
|
|
|
help
|
2024-06-12 13:13:20 +08:00
|
|
|
Initialize the RNG using a seed supplied by the bootloader or boot
|
|
|
|
environment (e.g. EFI or a bootloader-generated device tree). This
|
|
|
|
seed is not used directly, but is rather hashed into the main input
|
|
|
|
pool, and this happens regardless of whether or not this option is
|
|
|
|
enabled. Instead, this option controls whether the seed is credited
|
|
|
|
and hence can initialize the RNG. Additionally, other sources of
|
|
|
|
randomness are always used, regardless of this setting. Enabling
|
|
|
|
this implies trusting that the bootloader can supply high quality and
|
|
|
|
non-backdoored seeds.
|
|
|
|
|
|
|
|
Say Y here unless you have reason to mistrust your bootloader or
|
|
|
|
believe its RNG facilities may be faulty. This may also be configured
|
|
|
|
at boot time with "random.trust_bootloader=on/off".
|
|
|
|
|
|
|
|
endmenu
|