]> git.hungrycats.org Git - linux/commitdiff
[TIGON3]: Comment out card RAM validation in tg3_test_dma() for now.
authorDavid S. Miller <davem@nuts.davemloft.net>
Mon, 23 Feb 2004 03:33:18 +0000 (19:33 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Mon, 23 Feb 2004 03:33:18 +0000 (19:33 -0800)
drivers/net/tg3.c

index 5dc2b6f7edd8c9139d81857ba28c79f98b340238..0487952dde8858485253c70654f7640d40814560 100644 (file)
@@ -7427,6 +7427,7 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
                        break;
                }
 
+#if 0
                /* validate data reached card RAM correctly. */
                for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) {
                        u32 val;
@@ -7437,7 +7438,7 @@ static int __devinit tg3_test_dma(struct tg3 *tp)
                        }
                        p[i] = 0;
                }
-
+#endif
                /* Now read it back. */
                ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, 0);
                if (ret) {