diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-13 08:03:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-16 01:14:51 -0500 |
commit | 2b2cdb65bec42d38268b2ac115876b066afa7f95 (patch) | |
tree | 239a38242e57bc4d56b79d1bbc4e118a0cbc73d9 /drivers/net/tg3.h | |
parent | 4361935afe3abc3e5a93006b99197fac1fabbd50 (diff) |
tg3: Lay proucer ring handling groundwork
The patch increases the number of producer rings available and
implements the constructor and destructor code that deals with them.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index e0b86ba3b5b9..715df2b595dc 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2682,7 +2682,7 @@ struct tg3 { | |||
2682 | struct vlan_group *vlgrp; | 2682 | struct vlan_group *vlgrp; |
2683 | #endif | 2683 | #endif |
2684 | 2684 | ||
2685 | struct tg3_rx_prodring_set prodring[1]; | 2685 | struct tg3_rx_prodring_set prodring[TG3_IRQ_MAX_VECS - 1]; |
2686 | 2686 | ||
2687 | 2687 | ||
2688 | /* begin "everything else" cacheline(s) section */ | 2688 | /* begin "everything else" cacheline(s) section */ |