aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2005-07-25 12:31:17 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-25 12:31:17 -0700
commit7e72aad48c3790636bfa006f3b0027852ccad47e (patch)
treeba2f201b4554f95b3e432f75f6cc7a2cbb296f70 /drivers/net/tg3.h
parent0f893dc6ec890058d926224c8aa254d8621e0ea3 (diff)
downloadkernel_samsung_smdk4412-7e72aad48c3790636bfa006f3b0027852ccad47e.zip
kernel_samsung_smdk4412-7e72aad48c3790636bfa006f3b0027852ccad47e.tar.gz
kernel_samsung_smdk4412-7e72aad48c3790636bfa006f3b0027852ccad47e.tar.bz2
[TG3]: add variable buffer size for standard ring
Add a new rx_pkt_buf_sz to the tg3 structure to support variable buffer sizes on the standard ring. Signed-off-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 7cb2eef..15eb2bd 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2088,6 +2088,8 @@ struct tg3 {
struct tg3_rx_buffer_desc *rx_rcb;
dma_addr_t rx_rcb_mapping;
+ u32 rx_pkt_buf_sz;
+
/* begin "everything else" cacheline(s) section */
struct net_device_stats net_stats;
struct net_device_stats net_stats_prev;