projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0029d64
)
net: sh_eth: fix receive desciptor loop
author
Yoshihiro Shimoda
<shimoda.yoshihiro@renesas.com>
Sun, 24 May 2009 23:53:40 +0000
(23:53 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 26 May 2009 05:49:55 +0000
(22:49 -0700)
Fix the problem that this driver not update rxdesc in sh_eth_rx.
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sh_eth.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sh_eth.c
b/drivers/net/sh_eth.c
index eb768357c78d44777192cdfb4aad0bb1ed5d0c6f..728c4196830ac7166f6251991a478f4bbc2de74b 100644
(file)
--- a/
drivers/net/sh_eth.c
+++ b/
drivers/net/sh_eth.c
@@
-536,6
+536,7
@@
static int sh_eth_rx(struct net_device *ndev)
}
rxdesc->status |= cpu_to_edmac(mdp, RD_RACT);
entry = (++mdp->cur_rx) % RX_RING_SIZE;
+ rxdesc = &mdp->rx_ring[entry];
}
/* Refill the Rx ring buffers. */