aboutsummaryrefslogtreecommitdiff
path: root/fsdev/qemu-fsdev.c
diff options
context:
space:
mode:
authorLuc Michel <luc.michel@amd.com>2023-10-17 21:44:21 +0200
committerPeter Maydell <peter.maydell@linaro.org>2023-10-27 15:27:06 +0100
commit71a082a3fa9845360224c66029eea8d972b8b8bd (patch)
tree001ffb0820a83eb3100c0d402ad9b2596782b80e /fsdev/qemu-fsdev.c
parent1b09eeb122aaf1666a9c5aa789eb219443772685 (diff)
downloadqemu-71a082a3fa9845360224c66029eea8d972b8b8bd.zip
qemu-71a082a3fa9845360224c66029eea8d972b8b8bd.tar.gz
qemu-71a082a3fa9845360224c66029eea8d972b8b8bd.tar.bz2
hw/net/cadence_gem: perform PHY access on write only
The MDIO access is done only on a write to the PHYMNTNC register. A subsequent read is used to retrieve the result but does not trigger an MDIO access by itself. Refactor the PHY access logic to perform all accesses (MDIO reads and writes) at PHYMNTNC write time. Signed-off-by: Luc Michel <luc.michel@amd.com> Reviewed-by: sai.pavan.boddu@amd.com Message-id: 20231017194422.4124691-11-luc.michel@amd.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'fsdev/qemu-fsdev.c')
0 files changed, 0 insertions, 0 deletions