2.4.10p12 strange patch for drivers/net/starfire.c

From: Ward Fenton (ward@amazingmedia.com)
Date: Wed Sep 19 2001 - 15:35:20 EST


It seems that something went wrong with the starfire.c patch. The first
printk statement in the portion of the patch below is a syntax error.

diff -u --recursive --new-file v2.4.9/linux/drivers/net/starfire.c linux/drivers/net/starfire.c
--- v2.4.9/linux/drivers/net/starfire.c Sun Aug 12 13:27:59 2001
+++ linux/drivers/net/starfire.c Fri Sep 7 09:28:38 2001
[skipping about 100 lines]

@@ -768,6 +768,14 @@
                 np->phy_cnt = phy_idx;
         }
 
+#ifdef ZEROCOPY
+ printk(KERN_INFO "%s: scatter-gather and hardware TCP cksumming enabled.\n",
+ dev->name,
+#else /* not ZEROCOPY */
+ printk(KERN_INFO "%s: scatter-gather and hardware TCP cksumming disabled.\n",
+ dev->name);
+#endif /* not ZEROCOPY */
+
         return 0;
 
 err_out_cleardev:

[patch continues]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:32 EST