]> nv-tegra.nvidia Code Review - linux-3.10.git/commitdiff
[TG3]: Increase TEST_BUFFER_SIZE to 8K.
authorDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2005 20:59:47 +0000 (13:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 May 2005 20:59:47 +0000 (13:59 -0700)
This makes the DMA bug workaround test more likely
to find the problem on some systems.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c

index fb168855b2559a39440c0ec0ebd68d96cd6561c2..2bb022ab668250bc4699c354f9c22c7086a9bad4 100644 (file)
@@ -8996,7 +8996,7 @@ static int __devinit tg3_do_test_dma(struct tg3 *tp, u32 *buf, dma_addr_t buf_dm
        return ret;
 }
 
        return ret;
 }
 
-#define TEST_BUFFER_SIZE       0x400
+#define TEST_BUFFER_SIZE       0x2000
 
 static int __devinit tg3_test_dma(struct tg3 *tp)
 {
 
 static int __devinit tg3_test_dma(struct tg3 *tp)
 {