Title: [7702] trunk/drivers/net/bfin_mac.h: Disable hardware checksum for bug #5600 if writeback cache is enabled.
Revision
7702
Author
sonicz
Date
2009-10-22 06:31:18 -0400 (Thu, 22 Oct 2009)

Log Message

Disable hardware checksum for bug #5600 if writeback cache is enabled.
Otherwize, corrupted RX packet will be sent up stack without error mark.

Modified Paths

Diff

Modified: trunk/drivers/net/bfin_mac.h (7701 => 7702)


--- trunk/drivers/net/bfin_mac.h	2009-10-22 10:14:53 UTC (rev 7701)
+++ trunk/drivers/net/bfin_mac.h	2009-10-22 10:31:18 UTC (rev 7702)
@@ -14,7 +14,14 @@
 #include <linux/clocksource.h>
 #include <linux/timecompare.h>
 
+/*
+ * Disable hardware checksum for bug #5600 if writeback cache is
+ * enabled. Otherwize, corrupted RX packet will be sent up stack
+ * without error mark.
+ */
+#ifndef CONFIG_BFIN_EXTMEM_WRITEBACK
 #define BFIN_MAC_CSUM_OFFLOAD
+#endif
 
 struct dma_descriptor {
 	struct dma_descriptor *next_dma_desc;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to