tmp_suning_uos_patched/drivers
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
..
accessibility
acpi
amba
ata
atm
auxdisplay
base driver-core: move dma-coherent.c from kernel to driver/base 2009-09-15 09:50:47 -07:00
block driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
bluetooth
cdrom
char mem_class: fix bug 2009-09-15 09:50:47 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
firmware driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
gpio
gpu
hid
hwmon
i2c
ide
idle
ieee1394
ieee802154
infiniband driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
input driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
isdn
leds
lguest
macintosh
mca
md Merge branch 'for-2.6.32' of git://git.kernel.dk/linux-2.6-block 2009-09-14 17:55:15 -07:00
media
memstick
message
mfd
misc driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
mmc driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
mtd driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
net
nubus
of
oprofile
parisc
parport
pci Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2009-09-14 17:56:51 -07:00
pcmcia
platform
pnp
power
pps
ps3
rapidio
regulator
rtc
s390 driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
sbus
scsi driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
serial
sh
sn
spi
ssb
staging Merge branch 'for-2.6.32' of git://git.kernel.dk/linux-2.6-block 2009-09-14 17:55:15 -07:00
tc
telephony
thermal
uio uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
usb driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
uwb driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
video
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile