commit | 14231176b0dc358f8693f25b62017d222dd995e6 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@ru.mvista.com> | Mon Oct 12 06:00:33 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 12 23:54:02 2009 -0700 |
tree | c4340a05293f7a57b6c1a3e045b489349c6c2ffb | |
parent | e69edd21819823bbad06d1d02f9fa21713fad173 [diff] |
gianfar: Don't needlessly set the wrap bit for the last RX BD 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>