Re: Fw: Bug in ks8851.c

2013-03-29 Thread Max . Nekludov
, KS_RXFHSR); rxstat = rxh & 0x; rxlen = rxh >> 16; // BUG!!! 0xFFF mask should be applied Signed-off-by: Max Nekludov --- drivers/net/ethernet/micrel/ks8851.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/micrel/

Fw: Bug in ks8851.c

2013-03-29 Thread Max . Nekludov
Linus, I tried to send the mail to 'Ben Dooks ' but the address is dead now. > I assume you've tested it in practice? Yes, I'm running the modified code both in bootloader and Linux kernel on my board. Thanks, Max Signed-off-by: Max Nekludov --- drivers/net/ether

Re: Bug in ks8851.c

2013-03-28 Thread Max . Nekludov
Linus, I tried to send the mail to 'Ben Dooks ' but the address is dead now. > I assume you've tested it in practice? Yes, I'm running the modified code both in bootloader and Linux kernel on my board. Thanks, Max Signed-off-by: Max Nekludov --- drivers/net/ether

Bug in ks8851.c

2013-03-28 Thread Max . Nekludov
- Forwarded by Max Nekludov/USE/Elster on 28.03.2013 22:29 - |> | From: | |> >------| |Max Nekludov/U

Bug in ks8851.c

2013-03-28 Thread Max . Nekludov
gt;> 16; // BUG!!! 0xFFF mask should be applied P.S. without bit mask applied I saw rxlen equal to 15360 which is bigger then entire RX queue size (12KB). Thanks, Max Nekludov >From cb3199cee4490f98d6062e32a75ca377a32b55bc Mon Sep 17 00:00:00 2001 From: Max Neklyudov Date: Tue, 26 Mar