pasemi_mac: pass in count of buffers to replenish rx ring with
authorOlof Johansson <olof@lixom.net>
Wed, 26 Sep 2007 21:25:06 +0000 (16:25 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:44 +0000 (16:53 -0700)
pasemi_mac: pass in count of buffers to replenish rx ring with

Refactor replenish_rx_ring to take an argument for how many entries to
fill. Since it's normally available from where it's called anyway, this
is just simpler. It also removes the awkward logic to try to figure out
if we're filling for the first time or not.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found