sketch uio

This commit is contained in:
Ciro Santilli
2017-08-05 12:32:24 +01:00
parent 1f4f7faeba
commit 83411a0597
7 changed files with 84 additions and 3 deletions

View File

@@ -135,3 +135,30 @@ CONFIG_PCI=y
# Like CONFIG_X86_PTDUMP for ARM.
CONFIG_ARM64_PTDUMP=y
## UIO
# Userspace drivers.
#
# Superseded by the more featureful VFIO.
#
# Documentation/DocBook/uio-howto.tmpl
#
# UIO interface in a nutshell:
#
# - blocking read / poll: waits until interrupts
# - write: call irqcontrol callback. Default: 0 or 1 to enable / disable interrupts.
# - mmap: access device memory
# All other UIO depend on this module.
CONFIG_UIO=m
# Generic platform devices.
# https://yurovsky.github.io/2014/10/10/linux-uio-gpio-interrupt/
CONFIG_UIO_DMEM_GENIRQ=m
CONFIG_UIO_PDRV_GENIRQ=m
# https://github.com/rumpkernel/wiki/wiki/Howto:-Accessing-PCI-devices-from-userspace
# /sys/class/uio/
# /sys/class/uio/uio0
CONFIG_UIO_PCI_GENERIC=m