tg3: Move per-int tx members to a per-int struct
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 28 Aug 2009 14:03:21 +0000 (14:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 22:43:04 +0000 (15:43 -0700)
commitf3f3f27e5b4e27737f824535e6f145a3c88b976c
tree042a57424aca2fa1ff5736518321740070da767c
parent723344820aa405ac2663ab9e36fd27833d06129b
tg3: Move per-int tx members to a per-int struct

This patch moves the tx_prod, tx_cons, tx_pending, tx_ring, and
tx_buffers transmit ring device members to a per-interrupt structure.
It also adds a new transmit producer mailbox member (prodmbox) and
converts the code to use it rather than a preprocessor constant.

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