summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/Makefile
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2011-10-24 14:07:03 +0100
committerRusty Russell <rusty@rustcorp.com.au>2011-11-02 11:41:01 +1030
commitedfd52e6367270c90f3fd7cc302b375ffa89f91e (patch)
tree1a847022a6ee87524461ecd2427e7f23acab48ce /drivers/virtio/Makefile
parent005b20a8e0f587a46a00910ba4507bb9f6da70ea (diff)
downloadlinux-edfd52e6367270c90f3fd7cc302b375ffa89f91e.tar.bz2
virtio: Add platform bus driver for memory mapped virtio device
This patch, based on virtio PCI driver, adds support for memory mapped (platform) virtio device. This should allow environments like qemu to use virtio-based block & network devices even on platforms without PCI support. One can define and register a platform device which resources will describe memory mapped control registers and "mailbox" interrupt. Such device can be also instantiated using the Device Tree node with compatible property equal "virtio,mmio". Cc: Anthony Liguori <aliguori@us.ibm.com> Cc: Michael S.Tsirkin <mst@redhat.com> Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio/Makefile')
-rw-r--r--drivers/virtio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile
index 6738c446c199..5a4c63cfd380 100644
--- a/drivers/virtio/Makefile
+++ b/drivers/virtio/Makefile
@@ -1,4 +1,5 @@
obj-$(CONFIG_VIRTIO) += virtio.o
obj-$(CONFIG_VIRTIO_RING) += virtio_ring.o
+obj-$(CONFIG_VIRTIO_MMIO) += virtio_mmio.o
obj-$(CONFIG_VIRTIO_PCI) += virtio_pci.o
obj-$(CONFIG_VIRTIO_BALLOON) += virtio_balloon.o