On Fri, Dec 20, 2019 at 12:38 PM Aleksandar Markovic <aleksandar.m.m...@gmail.com> wrote: > > On Sat, Dec 14, 2019 at 2:29 AM Finn Thain <fth...@telegraphics.com.au> wrote: > > > > Hi All, > > > > There is a bug in the DP8393X emulation that can stop packet reception. > > > > Whilst debugging that issue I found that the receiver algorithm differs > > from the one described in the National Semiconductor datasheet. > > > > Finn, could you please provide the link to the exact datasheet that
or, several datasheets... > you used for reference, so that we are on the same page while looking > at your code? > > Best regards, > Aleksandar > > > These issues and others are addressed by this patch series. > > > > This series has only been tested with Linux/m68k guests. It needs further > > testing with MIPS Jazz guests such as NetBSD or Windows NT. > > > > Thanks. > > > > > > Finn Thain (10): > > dp8393x: Mask EOL bit from descriptor addresses > > dp8393x: Clean up endianness hacks > > dp8393x: Have dp8393x_receive() return the packet size > > dp8393x: Don't advance RX descriptor twice > > dp8393x: Update LLFA register > > dp8393x: Clear RRRA command register bit only when appropriate > > dp8393x: Implement TBWC0 and TBWC1 registers to restore buffer state > > dp8393x: Implement packet size limit and RBAE interrupt > > dp8393x: Don't stop reception upon RBE interrupt assertion > > dp8393x: Don't clobber packet checksum > > > > hw/net/dp8393x.c | 80 +++++++++++++++++++++++++++++++----------------- > > 1 file changed, 52 insertions(+), 28 deletions(-) > > > > -- > > 2.23.0 > > > >