patch-2.1.86 linux/arch/sparc/ap1000/tnet.c

Next file: linux/arch/sparc/config.in
Previous file: linux/arch/sparc/ap1000/bnet.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/arch/sparc/ap1000/tnet.c linux/arch/sparc/ap1000/tnet.c
@@ -596,11 +596,10 @@
 		int *info = (int *)skb->data; /* re-use the header */
 		info[0] = (int)data;
 		info[1] = size;
-		info[2] = tnet_add_completion(free_skb,(int)skb,(int)FREE_WRITE);
+		info[2] = tnet_add_completion(free_skb, (int)skb, 0);
 		tnet_send(cid,TNET_IP,info,sizeof(int)*3,0,0);
 	} else {
-		flag = tnet_add_completion(free_skb,
-					   (int)skb,(int)FREE_WRITE);
+		flag = tnet_add_completion(free_skb, (int)skb, 0);
 		tnet_send(cid,TNET_IP_SMALL,data,size,0,flag);
 		tnet_stats.small_packets_sent++;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov