On Tue, 9 Apr 2024 at 14:39, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > The magic 2048 is explained in the LAN9211 datasheet (DS00002414A) > in chapter 1.4, "10/100 Ethernet MAC": > > The MAC Interface Layer (MIL), within the MAC, contains a > 2K Byte transmit and a 128 Byte receive FIFO which is separate > from the TX and RX FIFOs. [...] > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > (Not including Peter R-b from v1 due to semantic change)
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Though the use of the constant in lan9118_receive() reveals that our implementation is using the same buffer for both tx and rx... thanks -- PMM