drivers/net/starfire.c
PATCH 1/1 drivers/net/starfire.c
See http://bugme.osdl.org/show_bug.cgi?id=4208 for all relevant information.
--
net/starfire.c renamed from net/starfire.c.old +2 -2
@@ -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 */