]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/net/xilinx_ethlite: Map MDIO registers (as unimplemented)
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Nov 2024 18:35:36 +0000 (19:35 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:03 +0000 (17:16 +0100)
commitfa3ca9aa1ceb9b762f4c7a51245226f247e35560
treec531d19248806a1583dddbaabda9229722c10e20
parent6909b616efbc9b627a0c9ea87d25a10d508cc879
hw/net/xilinx_ethlite: Map MDIO registers (as unimplemented)

Rather than handling the MDIO registers as RAM, map them
as unimplemented I/O within the device MR.

The memory flat view becomes:

  (qemu) info mtree -f
  FlatView #0
   Root memory region: system
    0000000081000000-00000000810007e3 (prio 0, i/o): xlnx.xps-ethernetlite
    00000000810007e4-00000000810007f3 (prio 0, i/o): ethlite.mdio
    00000000810007f4-0000000081001fff (prio 0, i/o): xlnx.xps-ethernetlite @00000000000007f4

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Message-Id: <20241112181044.92193-7-philmd@linaro.org>
hw/net/xilinx_ethlite.c