diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-13 13:03:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-15 22:14:51 -0800 |
commit | 2b2cdb65bec42d38268b2ac115876b066afa7f95 (patch) | |
tree | 239a38242e57bc4d56b79d1bbc4e118a0cbc73d9 /drivers/net/tg3.h | |
parent | 4361935afe3abc3e5a93006b99197fac1fabbd50 (diff) | |
download | kernel_samsung_smdk4412-2b2cdb65bec42d38268b2ac115876b066afa7f95.zip kernel_samsung_smdk4412-2b2cdb65bec42d38268b2ac115876b066afa7f95.tar.gz kernel_samsung_smdk4412-2b2cdb65bec42d38268b2ac115876b066afa7f95.tar.bz2 |
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 e0b86ba..715df2b 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 */ |