Files
u-boot/drivers
Dmitry Baryshkov 3098115155 virtio: fix get_config / set_config for legacy VirtIO targets
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: 4135e10732 ("virtio: Add virtio over pci transport driver")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2024-03-05 08:37:53 -05:00
..
2023-11-20 09:19:50 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-05-02 14:23:58 -04:00
2024-01-29 22:35:02 -05:00
2024-01-29 22:35:02 -05:00
2023-10-11 10:35:24 -04:00
2024-01-18 12:18:48 -05:00
2023-12-13 11:35:16 -05:00
2024-01-29 22:35:02 -05:00
2024-03-05 08:08:26 -05:00
2024-03-02 12:26:18 -05:00
2023-11-07 14:50:51 -05:00
2024-01-29 22:35:02 -05:00
2023-11-20 09:19:50 -05:00
2024-01-16 12:26:54 +00:00
2024-01-29 22:35:02 -05:00