public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] drivers/net/starfire.c
@ 2005-02-17 20:59 Michael Kreitzer
  0 siblings, 0 replies; only message in thread
From: Michael Kreitzer @ 2005-02-17 20:59 UTC (permalink / raw)
  To: linux-net, linux-kernel

See http://bugme.osdl.org/show_bug.cgi?id=4208 for all relevant information.

--

--- drivers/net/starfire.c.old	2005-02-17 04:12:20.987861182 -0600
+++ drivers/net/starfire.c	2005-02-17 04:11:55.038499137 -0600
@@ -271,7 +271,7 @@
  * This SUCKS.
  * We need a much better method to determine if dma_addr_t is 64-bit.
  */
-#if (defined(__i386__) && defined(CONFIG_HIGHMEM) && (LINUX_VERSION_CODE > 0x20500 || defined(CONFIG_HIGHMEM64G))) || defined(__x86_64__) || defined (__ia64__) || defined(__mips64__) || (defined(__mips__) && defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR))
+#if (defined(__i386__) && defined(CONFIG_HIGHMEM64G)) || defined(__x86_64__) || defined (__ia64__) || defined(__mips64__) || (defined(__mips__) && defined(CONFIG_HIGHMEM) && defined(CONFIG_64BIT_PHYS_ADDR))
 /* 64-bit dma_addr_t */
 #define ADDR_64BITS	/* This chip uses 64 bit addresses. */
 #define cpu_to_dma(x) cpu_to_le64(x)
@@ -1401,7 +1401,7 @@
 		}
 
 		if (has_bad_length)
-			skb_checksum_help(skb);
+			skb_checksum_help(skb, 0);
 	}
 #endif /* ZEROCOPY && HAS_BROKEN_FIRMWARE */
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-17 21:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-17 20:59 [2.6 patch] drivers/net/starfire.c Michael Kreitzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox