[PATCH] virtio: fix get_config / set_config for legacy VirtIO targets
Tom Rini
trini at konsulko.com
Tue Mar 5 17:02:59 CET 2024
On Mon, 12 Feb 2024 09:37:08 +0200, Dmitry Baryshkov wrote:
> 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.
>
> [...]
Applied to u-boot/next, thanks!
--
Tom
More information about the U-Boot
mailing list