git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69edd2
)
gianfar: Don't needlessly set the wrap bit for the last RX BD
author
Anton Vorontsov
<avorontsov@ru.mvista.com>
Mon, 12 Oct 2009 06:00:33 +0000
(06:00 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Oct 2009 06:54:02 +0000
(23:54 -0700)
startup_gfar() sets the wrap bit for the last rxbd just after
gfar_new_rxbdp() call, which is issued for all rxbds. And
gfar_new_rxbdp() has the following check already:
if (bdp == priv->rx_bd_base + priv->rx_ring_size - 1)
lstatus |= BD_LFLAG(RXBD_WRAP);
So we don't need to set the bit again.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
patch
|
blob
|
history
diff --cc
drivers/net/gianfar.c
Simple merge