tg3: Move per-int rx members to per-int struct
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 28 Aug 2009 14:03:01 +0000 (14:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 22:43:03 +0000 (15:43 -0700)
commit723344820aa405ac2663ab9e36fd27833d06129b
treedad1b2b19c269ff1ba9dcd3d5bbbc8d4ac38a9ba
parent898a56f8d8170c188e47ae3acb90d2ea9a585ebe
tg3: Move per-int rx members to per-int struct

This patch moves the rx_rcb, rx_rcb_mapping, and rx_rcb_ptr return ring
device members to a per-interrupt structure.  It also adds a new return
ring consumer mailbox register member (consmbox) 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