On Tue, 9 Apr 2024 at 14:39, Philippe Mathieu-Daudé wrote:
>
> rx_fifo[] is an array of words,
> rx_fifo_size is a word count.
True, but that's not why rx_fifo[] has been sized to 3360.
It's 3360 because that is the worst-case RX data FIFO size
in words (if TX_FIF_SZ is 2 then the RX data FIFO is
rx_fifo[] is an array of words,
rx_fifo_size is a word count.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/net/lan9118.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/net/lan9118.c b/hw/net/lan9118.c
index 663776f575..56cc52d450 100644
--- a/hw/net/lan9118.c
+++