1
0
Fork 0
alistair23-linux/drivers/uio
Michael S. Tsirkin ccb86a6907 uio: add generic driver for PCI 2.3 devices
This adds a generic uio driver that can bind to any PCI device.  First
user will be virtualization where a qemu userspace process needs to give
guest OS access to the device.

Interrupts are handled using the Interrupt Disable bit in the PCI
command register and Interrupt Status bit in the PCI status register.
All devices compliant to PCI 2.3 (circa 2002) and all compliant PCI
Express devices should support these bits.  Driver detects this support,
and won't bind to devices which do not support the Interrupt Disable Bit
in the command register.

It's expected that more features of interest to virtualization will be
added to this driver in the future. Possibilities are: mmap for device
resources, MSI/MSI-X, eventfd (to interface with kvm), iommu.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-15 09:50:48 -07:00
..
Kconfig uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
Makefile uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
uio.c UIO: Take offset into account when determining number of pages that can be mapped 2009-03-24 16:38:25 -07:00
uio_aec.c uio: add the uio_aec driver 2009-03-24 16:38:24 -07:00
uio_cif.c UIO: fix specific device driver missing statement for depmod 2009-04-16 16:17:11 -07:00
uio_pci_generic.c uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
uio_pdrv.c UIO: Change driver name of uio_pdrv 2008-10-16 09:24:53 -07:00
uio_pdrv_genirq.c UIO: uio_pdrv_genirq: allow custom irq_flags 2009-01-06 10:44:43 -08:00
uio_sercos3.c UIO: add automata sercos3 pci card support 2008-10-16 09:24:53 -07:00
uio_smx.c UIO: Implement a UIO interface for the SMX Cryptengine 2008-04-19 19:10:18 -07:00