Title: [7703] branches/2009R1/drivers/net/bfin_mac.h: Disable hardware checksum for bug #5600 if writeback cache is enabled.
Revision
7703
Author
sonicz
Date
2009-10-22 06:32:25 -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: branches/2009R1/drivers/net/bfin_mac.h (7702 => 7703)


--- branches/2009R1/drivers/net/bfin_mac.h	2009-10-22 10:31:18 UTC (rev 7702)
+++ branches/2009R1/drivers/net/bfin_mac.h	2009-10-22 10:32:25 UTC (rev 7703)
@@ -8,7 +8,14 @@
  * Licensed under the GPL-2 or later.
  */
 
+/*
+ * 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