Commit bd8f3f31 authored by David S. Miller's avatar David S. Miller

[TIGON3]: Comment out card RAM validation in tg3_test_dma() for now.

parent d2979329
...@@ -7427,6 +7427,7 @@ static int __devinit tg3_test_dma(struct tg3 *tp) ...@@ -7427,6 +7427,7 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
break; break;
} }
#if 0
/* validate data reached card RAM correctly. */ /* validate data reached card RAM correctly. */
for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) { for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) {
u32 val; u32 val;
...@@ -7437,7 +7438,7 @@ static int __devinit tg3_test_dma(struct tg3 *tp) ...@@ -7437,7 +7438,7 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
} }
p[i] = 0; p[i] = 0;
} }
#endif
/* Now read it back. */ /* Now read it back. */
ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, 0); ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, 0);
if (ret) { if (ret) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment