]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/net/xilinx_ethlite: Access TX_GIE register for each port
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Nov 2024 18:45:58 +0000 (19:45 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:03 +0000 (17:16 +0100)
commit64fdbae7e1bc6408204a3cf3b8e6a2e7d8e36fe2
treeb0e863e58e9fe29dc6b1519e04c6d9804d97b04f
parent785fd1a9afd5cb894f3e53753d732c7fbbb3d74a
hw/net/xilinx_ethlite: Access TX_GIE register for each port

Rather than accessing the registers within the mixed RAM/MMIO
region as indexed register, declare a per-port TX_GIE. This
will help to map the RAM as RAM (keeping MMIO as MMIO) in few
commits.

Previous s->regs[R_TX_GIE0] and s->regs[R_TX_GIE1] are now
unused. Not a concern, this array will soon disappear.

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