uio driver: set pci bus master bit when using MSI-X

DMA and therefore MSI is not allowed when the device does not have the
bus master bit set. A recent qemu will enforce this behaviour in its PCI
subsystem.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio driver: add missing kfree in error path of probe function

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio driver: round register BAR size up to a full page

Otherwise mmap will fail with kernels > 3.11

Signed-off-by: Henning Schild <henning.schild@siemens.com>
gitignore: ignore build output of uio driver

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio driver: apply style changes suggested by checkpatch.pl

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio tests: remove cmake generated Makefile

Signed-off-by: Henning Schild <henning.schild@siemens.com>
gitignore: ignore build output of uio interrupt tests

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio driver: fix error handling in probe and cleanup in remove

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio driver: do not map the shared memory in the kernel

The shared memory region is not accessed from within the kernel, no need
to map and unmap it.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
uio driver: add memory region names for sysfs

Signed-off-by: Henning Schild <henning.schild@siemens.com>