mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-14 15:23:26 +08:00
3098115155
The functions virtio_pci_get_config() and virtio_pci_set_config() don't
take the offset into account when reading the config space. For example
this manifests when U-Boot tries to read the MAC address of the VirtIO
networking device. It reads 6 equa bytes instead of the proper addess.
Fix those functions by taking the offset in the config space into
account.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
virtio_blk.c | ||
virtio_blk.h | ||
virtio_mmio.c | ||
virtio_mmio.h | ||
virtio_net.c | ||
virtio_net.h | ||
virtio_pci_legacy.c | ||
virtio_pci_modern.c | ||
virtio_pci.h | ||
virtio_ring.c | ||
virtio_rng.c | ||
virtio_sandbox.c | ||
virtio-uclass.c |