tg3: Add prodring parameter to tg3_alloc_rx_skb()
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 13 Nov 2009 13:03:44 +0000 (13:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 06:14:48 +0000 (22:14 -0800)
commita3896167160ce9ad1eadeb88fd2f3971888444ae
tree504efd6573241c592e75d7139715cece3a15bc46
parentafc081f83c59a7cf2c025a3ed89d011b5db556eb
tg3: Add prodring parameter to tg3_alloc_rx_skb()

This patch changes the tg3_alloc_rx_skb() implementation to accept the
destination producer ring set pointer as a parameter rather than
assuming the source and destination producer rings are the same.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c