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)
commit928773c23a4cf053a34ad480439448f75efa350c
tree1a3cc4c364616220363bfa794455b09bf48b6724
parent36033766533176d61ba15793d8ef219775499c2f
pasemi_mac: pass in count of buffers to replenish rx ring with

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>
drivers/net/pasemi_mac.c