* [patch] 2.6.1-bk1-netdev2 - Realtek 8169 braindamaged
@ 2004-01-12 22:12 Francois Romieu
2004-01-12 22:20 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Francois Romieu @ 2004-01-12 22:12 UTC (permalink / raw)
To: jgarzik; +Cc: netdev
Hi,
please apply.
$@!#&%{ bug in the r8169 driver.
drivers/net/r8169.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/net/r8169.c~r8169-dma-api-rx-buffers-argl drivers/net/r8169.c
--- linux-2.6.1-bk1-netdev2/drivers/net/r8169.c~r8169-dma-api-rx-buffers-argl 2004-01-12 23:01:59.000000000 +0100
+++ linux-2.6.1-bk1-netdev2-fr/drivers/net/r8169.c 2004-01-12 23:01:59.000000000 +0100
@@ -1408,7 +1408,7 @@ rtl8169_rx_interrupt(struct net_device *
assert(tp != NULL);
assert(ioaddr != NULL);
- cur_rx = tp->cur_rx % RX_BUF_SIZE;
+ cur_rx = tp->cur_rx % NUM_RX_DESC;
while (!(le32_to_cpu(tp->RxDescArray[cur_rx].status) & OWNbit)) {
u32 status = le32_to_cpu(tp->RxDescArray[cur_rx].status);
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] 2.6.1-bk1-netdev2 - Realtek 8169 braindamaged
2004-01-12 22:12 [patch] 2.6.1-bk1-netdev2 - Realtek 8169 braindamaged Francois Romieu
@ 2004-01-12 22:20 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2004-01-12 22:20 UTC (permalink / raw)
To: Francois Romieu; +Cc: netdev
thanks, applied :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-12 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-12 22:12 [patch] 2.6.1-bk1-netdev2 - Realtek 8169 braindamaged Francois Romieu
2004-01-12 22:20 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).