virtio: Add virtio over pci transport driver
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Oct 2018 09:21:17 +0000 (02:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:28 +0000 (09:16 -0800)
commit4135e10732a0eb3c66b34d2fde32eb54d6323fc6
tree39480ae5ccc2769bbc6f76d42921e4ebf5f03cce
parent3bf9a8e8460f69022c85f30860911067e4aebca3
virtio: Add virtio over pci transport driver

This adds a transport driver that implements UCLASS_VIRTIO for
virtio over pci, which is commonly used on x86.

It only supports the legacy interface of the pci transport, which
is the default device that QEMU emulates.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/virtio/Kconfig
drivers/virtio/Makefile
drivers/virtio/virtio_pci.c [new file with mode: 0644]
drivers/virtio/virtio_pci.h [new file with mode: 0644]