u-boot/drivers/virtio
Bin Meng 699aae0800 virtio: net: Support non-legacy device
For v1.0 compliant device, it always assumes the member 'num_buffers'
exists in the struct virtio_net_hdr while the legacy driver only
presented 'num_buffers' when VIRTIO_NET_F_MRG_RXBUF was negotiated.
Without that feature the structure was 2 bytes shorter.

Update the driver to support the non-legacy device.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-11-14 09:16:28 -08:00
..
Kconfig virtio: Add virtio over pci transport driver 2018-11-14 09:16:28 -08:00
Makefile virtio: pci: Support non-legacy PCI transport device 2018-11-14 09:16:28 -08:00
virtio_blk.c virtio: Add block driver support 2018-11-14 09:16:27 -08:00
virtio_blk.h virtio: Add block driver support 2018-11-14 09:16:27 -08:00
virtio_mmio.c virtio: Add virtio over mmio transport driver 2018-11-14 09:16:27 -08:00
virtio_mmio.h virtio: Add virtio over mmio transport driver 2018-11-14 09:16:27 -08:00
virtio_net.c virtio: net: Support non-legacy device 2018-11-14 09:16:28 -08:00
virtio_net.h virtio: Add net driver support 2018-11-14 09:16:27 -08:00
virtio_pci_legacy.c virtio: pci: Support non-legacy PCI transport device 2018-11-14 09:16:28 -08:00
virtio_pci_modern.c virtio: pci: Support non-legacy PCI transport device 2018-11-14 09:16:28 -08:00
virtio_pci.h virtio: Add virtio over pci transport driver 2018-11-14 09:16:28 -08:00
virtio_ring.c
virtio-uclass.c