8b4ffb8d3e
Summary: - This commit adds virtio-mmio and virtio-net drivers Impact: - None (new drivers) Testing: - Tested with rv-virt (will be updated later) with QEMU-7.1 Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
50 lines
924 B
Plaintext
50 lines
924 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menuconfig DRIVERS_VIRTIO
|
|
bool "Virtio Device Support"
|
|
depends on !OPENAMP
|
|
default n
|
|
---help---
|
|
|
|
if DRIVERS_VIRTIO
|
|
menuconfig DRIVERS_VIRTIO_MMIO_NUM
|
|
int "The number of virtio mmio devices"
|
|
default 1
|
|
---help---
|
|
|
|
if DRIVERS_VIRTIO_MMIO_NUM != 0
|
|
menuconfig DRIVERS_VIRTIO_MMIO_BASE
|
|
hex "Virtio-mmio base address"
|
|
---help---
|
|
|
|
menuconfig DRIVERS_VIRTIO_MMIO_REGSIZE
|
|
hex "Virtio-mmio register size"
|
|
default 0
|
|
---help---
|
|
|
|
menuconfig DRIVERS_VIRTIO_MMIO_IRQ
|
|
int "Virtio-mmio irq number"
|
|
---help---
|
|
|
|
endif
|
|
|
|
menuconfig DRIVERS_VIRTIO_NET
|
|
bool "Virtio network support"
|
|
default n
|
|
depends on DRIVERS_VIRTIO_MMIO_NUM > 0
|
|
select ARCH_HAVE_NETDEV_STATISTICS
|
|
---help---
|
|
|
|
if DRIVERS_VIRTIO_NET
|
|
config DRIVERS_VIRTIO_NET_QUEUE_LEN
|
|
int "Queue length"
|
|
default 16
|
|
---help---
|
|
|
|
endif
|
|
endif
|
|
|