mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +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:
@@ -22,6 +22,10 @@ config DRIVERS_VIRTIO_MMIO_QUEUE_LEN
|
||||
If this value equals to 0, use the max queue length get from
|
||||
mmio register.
|
||||
|
||||
config DRIVERS_VIRTIO_PCI
|
||||
bool "Virtio PCI Device Support"
|
||||
default n
|
||||
|
||||
config DRIVERS_VIRTIO_BLK
|
||||
bool "Virtio block support"
|
||||
depends on !DISABLE_MOUNTPOINT
|
||||
|
||||
Reference in New Issue
Block a user