Skip to content

Commit 4bea945

Browse files
committed
[drivers][virtio] Depend VirtIO net on LWIP
将 VirtIO Net 的依赖从 RT_USING_ETHERNET 调整为 RT_USING_LWIP。 避免 SMART QEMU 在未启用以太网抽象时无法选择网卡。
1 parent 1fa803d commit 4bea945

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/drivers/virtio/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config RT_VIRTIO_TRANSPORT_PCI
2121
config RT_VIRTIO_NET
2222
bool "VirtIO Net"
2323
depends on RT_USING_VIRTIO
24-
depends on RT_USING_ETHERNET
24+
depends on RT_USING_LWIP
2525
default y
2626

2727
config RT_VIRTIO_BLK

0 commit comments

Comments
 (0)