netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] r8169: tx checksuming default enablement
@ 2005-02-17  0:23 Jon Mason
  0 siblings, 0 replies; only message in thread
From: Jon Mason @ 2005-02-17  0:23 UTC (permalink / raw)
  To: Francois Romieu; +Cc: netdev

Trivial enablement of transmit checksumming by default.

Originally sent on 10/28/04.  Applies cleanly to linux-2.6.11-rc2-mm2 version of the driver.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>

--- drivers/net/r8169.c.orig 2005-01-11 17:05:58.000000000 -0600
+++ drivers/net/r8169.c 2005-02-16 17:16:19.000000000 -0600
@@ -1341,6 +1341,8 @@ rtl8169_init_one(struct pci_dev *pdev, c
  dev->poll_controller = rtl8169_netpoll;
 #endif
 
+ dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG;
+
  tp->intr_mask = 0xffff;
  tp->pci_dev = pdev;
  tp->mmio_addr = ioaddr;

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-17  0:23 [PATCH 1/3] r8169: tx checksuming default enablement Jon Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).