diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-15 02:21:23 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-11-14 09:16:28 -0800 |
commit | 550435edf810ad0a96a50e6a94d4ebf693fc5913 (patch) | |
tree | 3146d991760fad1a33d4ffca3b50680b4056d850 /drivers/virtio/Makefile | |
parent | 7a20614eb292c48b4a42c3b5314b26d975aa84b4 (diff) |
virtio: pci: Support non-legacy PCI transport device
By default QEMU creates legacy PCI transport devices, but we can
ask QEMU to create non-legacy one if we pass additional device
property/value pairs in the command line:
-device virtio-blk-pci,disable-legacy=true,disable-modern=false
This adds a new driver driver to support non-legacy (modern) device
mode. Previous driver/file name is changed accordingly.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/virtio/Makefile')
-rw-r--r-- | drivers/virtio/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/Makefile b/drivers/virtio/Makefile index 5ee6183e608..072fb563b3a 100644 --- a/drivers/virtio/Makefile +++ b/drivers/virtio/Makefile @@ -5,6 +5,6 @@ obj-y += virtio-uclass.o virtio_ring.o obj-$(CONFIG_VIRTIO_MMIO) += virtio_mmio.o -obj-$(CONFIG_VIRTIO_PCI) += virtio_pci.o +obj-$(CONFIG_VIRTIO_PCI) += virtio_pci_legacy.o virtio_pci_modern.o obj-$(CONFIG_VIRTIO_NET) += virtio_net.o obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o |