summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-11-13 14:03:46 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-16 07:14:49 +0100
commit411da6407e778bf946911df08bb5afc505422f31 (patch)
tree24bd8cde28cb13191f029796bbc7fa4806a8fbd2 /drivers/net/tg3.h
parenttg3: tg3_alloc_rx_skb(tnapi => tp) (diff)
downloadlinux-411da6407e778bf946911df08bb5afc505422f31.tar.xz
linux-411da6407e778bf946911df08bb5afc505422f31.zip
tg3: rename rx_[std|jmb]_ptr
A later patch is going to add consumer indicies for the producer rings. To keep things readable, this patch renames rx_[std|jmb]_ptr to rx_[std|jmb]_prod_idx. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 42fefa11c052..e0b86ba3b5b9 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2570,8 +2570,8 @@ struct tg3_ethtool_stats {
};
struct tg3_rx_prodring_set {
- u32 rx_std_ptr;
- u32 rx_jmb_ptr;
+ u32 rx_std_prod_idx;
+ u32 rx_jmb_prod_idx;
struct tg3_rx_buffer_desc *rx_std;
struct tg3_ext_rx_buffer_desc *rx_jmb;
struct ring_info *rx_std_buffers;