From: David S. Miller Date: Mon, 23 May 2005 20:59:47 +0000 (-0700) Subject: [TG3]: Increase TEST_BUFFER_SIZE to 8K. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ded7340d9d9142807a1ef94ab9c51d13ab76a1c9;p=openwrt%2Fstaging%2Fblogic.git [TG3]: Increase TEST_BUFFER_SIZE to 8K. This makes the DMA bug workaround test more likely to find the problem on some systems. Signed-off-by: David S. Miller --- diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index fb168855b255..2bb022ab6682 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -8996,7 +8996,7 @@ static int __devinit tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dm return ret; } -#define TEST_BUFFER_SIZE 0x400 +#define TEST_BUFFER_SIZE 0x2000 static int __devinit tg3_test_dma(struct tg3 *tp) {