aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-09-01 08:51:13 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 03:43:25 -0400
commitfd2ce37f8e4a570ce90b141a2e7c476c5b399836 (patch)
tree2bb84bb3dfcf9900b47f221073f573e3a6f0941f /drivers/net/tg3.h
parentf19af9c2cc015e42dfe4bd5c383e32066ec2801c (diff)
tg3: Add per-int coalesce now member
Each interrupt vector has its own bit in the host coalescing register to force that vector's status block to be updated and generate an interrupt. This patch adds a member to the per-interrupt structure that records which bit belongs to that vector. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index a816b2c0f167..626b96805c3e 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1031,6 +1031,7 @@
1031#define HOSTCC_MODE_CLRTICK_TXBD 0x00000400 1031#define HOSTCC_MODE_CLRTICK_TXBD 0x00000400
1032#define HOSTCC_MODE_NOINT_ON_NOW 0x00000800 1032#define HOSTCC_MODE_NOINT_ON_NOW 0x00000800
1033#define HOSTCC_MODE_NOINT_ON_FORCE 0x00001000 1033#define HOSTCC_MODE_NOINT_ON_FORCE 0x00001000
1034#define HOSTCC_MODE_COAL_VEC1_NOW 0x00002000
1034#define HOSTCC_STATUS 0x00003c04 1035#define HOSTCC_STATUS 0x00003c04
1035#define HOSTCC_STATUS_ERROR_ATTN 0x00000004 1036#define HOSTCC_STATUS_ERROR_ATTN 0x00000004
1036#define HOSTCC_RXCOL_TICKS 0x00003c08 1037#define HOSTCC_RXCOL_TICKS 0x00003c08
@@ -2497,6 +2498,7 @@ struct tg3_napi {
2497 u32 last_tag; 2498 u32 last_tag;
2498 u32 last_irq_tag; 2499 u32 last_irq_tag;
2499 u32 int_mbox; 2500 u32 int_mbox;
2501 u32 coal_now;
2500 u32 tx_prod; 2502 u32 tx_prod;
2501 u32 tx_cons; 2503 u32 tx_cons;
2502 u32 tx_pending; 2504 u32 tx_pending;