aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-04-12 02:58:29 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-13 05:25:46 -0400
commit04380d401ebd02ec68bb0fc170f21a93690ebc80 (patch)
tree0cbf1e3c0fc2c0c0c84878df73266d983cbb8114 /drivers/net/tg3.h
parent9dc7a1134919bda8951bf5909fb79c14defb8317 (diff)
tg3: Unify max pkt size preprocessor constants
The maximum packet size that gets programmed into the standard producer ring control block is directly related to the packet size used to allocate packet buffers. This patch removes the redundant preprocessor constant. 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 43dd1d26243c..b71083d9a118 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -25,7 +25,6 @@
25 25
26#define TG3_RX_INTERNAL_RING_SZ_5906 32 26#define TG3_RX_INTERNAL_RING_SZ_5906 32
27 27
28#define RX_STD_MAX_SIZE 1536
29#define RX_STD_MAX_SIZE_5705 512 28#define RX_STD_MAX_SIZE_5705 512
30#define RX_JUMBO_MAX_SIZE 0xdeadbeef /* XXX */ 29#define RX_JUMBO_MAX_SIZE 0xdeadbeef /* XXX */
31 30