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

Ward Fenton (ward@amazingmedia.com)
Wed, 19 Sep 2001 16:35:20 -0400 (EDT)


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/