mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
vitrio-pci.c: add virtio-pci transport support for Nuttx
1. only support pci modern device; 2. need the pci controller support MSI/MSI-X; It has been verified based on virtio-rng and virtio-net. Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com> Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
@@ -28,6 +28,10 @@ ifeq ($(CONFIG_DRIVERS_VIRTIO_MMIO),y)
|
||||
CSRCS += virtio-mmio.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DRIVERS_VIRTIO_PCI),y)
|
||||
CSRCS += virtio-pci.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_DRIVERS_VIRTIO_BLK),y)
|
||||
CSRCS += virtio-blk.c
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user