diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-13 14:03:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-16 07:14:51 +0100 |
commit | 2b2cdb65bec42d38268b2ac115876b066afa7f95 (patch) | |
tree | 239a38242e57bc4d56b79d1bbc4e118a0cbc73d9 /drivers/net/tg3.h | |
parent | tg3: Consider rx_std_prod_idx a hw mailbox (diff) | |
download | linux-2b2cdb65bec42d38268b2ac115876b066afa7f95.tar.xz linux-2b2cdb65bec42d38268b2ac115876b066afa7f95.zip |
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 '')
-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 { struct vlan_group *vlgrp; #endif - struct tg3_rx_prodring_set prodring[1]; + struct tg3_rx_prodring_set prodring[TG3_IRQ_MAX_VECS - 1]; /* begin "everything else" cacheline(s) section */ |