tg3: Move general int members to a per-int struct
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 28 Aug 2009 14:02:40 +0000 (14:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2009 22:43:01 +0000 (15:43 -0700)
commit898a56f8d8170c188e47ae3acb90d2ea9a585ebe
tree6880f6bec0090eac6cd56458fc23e383b3f7d078
parent17375d25d3dcd3d4caf9456fa94f60e29d6b1146
tg3: Move general int members to a per-int struct

This patch moves the last_tag, last_tag_irq, and hw_status device
members to a per-interrupt structure.  It also adds a new interrupt
mailbox member (int_mbox) and converts the code to use it rather than a
direct 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