public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] fix 3c59x for current 2.5-bk
@ 2002-10-17  1:33 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2002-10-17  1:33 UTC (permalink / raw)
  To: lkml

The networking guys have been doing stuff, and the following
patch from Alexey is needed to make the 3c59x ethernet driver
work with udp.  It teaches driver to add hardware checksums to
outgoing UDP frames.


--- 2.5.43/drivers/net/3c59x.c~3c59x-udp-csum	Wed Oct 16 11:59:43 2002
+++ 2.5.43-akpm/drivers/net/3c59x.c	Wed Oct 16 11:59:43 2002
@@ -2052,7 +2052,7 @@ boomerang_start_xmit(struct sk_buff *skb
 	if (skb->ip_summed != CHECKSUM_HW)
 			vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded);
 	else
-			vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded | AddTCPChksum);
+			vp->tx_ring[entry].status = cpu_to_le32(skb->len | TxIntrUploaded | AddTCPChksum | AddUDPChksum);
 
 	if (!skb_shinfo(skb)->nr_frags) {
 		vp->tx_ring[entry].frag[0].addr = cpu_to_le32(pci_map_single(vp->pdev, skb->data,

.

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

only message in thread, other threads:[~2002-10-17  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17  1:33 [patch] fix 3c59x for current 2.5-bk Andrew Morton

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