patch-2.4.22 linux-2.4.22/drivers/net/sonic.c

Next file: linux-2.4.22/drivers/net/sundance.c
Previous file: linux-2.4.22/drivers/net/skfp/fplustm.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/sonic.c linux-2.4.22/drivers/net/sonic.c
@@ -113,15 +113,6 @@
 	if (sonic_debug > 2)
 		printk("sonic_send_packet: skb=%p, dev=%p\n", skb, dev);
 
-	/* 
-	 * Block a timer-based transmit from overlapping.  This could better be
-	 * done with atomic_swap(1, dev->tbusy), but set_bit() works as well.
-	 */
-	if (test_and_set_bit(0, (void *) &dev->tbusy) != 0) {
-		printk("%s: Transmitter access conflict.\n", dev->name);
-		return 1;
-	}
-
 	/*
 	 * Map the packet data into the logical DMA address space
 	 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)