patch-2.4.21 linux-2.4.21/drivers/net/bmac.c
Next file: linux-2.4.21/drivers/net/bonding.c
Previous file: linux-2.4.21/drivers/net/bagetlance.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-06-13 07:51:34.000000000 -0700
- Orig file:
linux-2.4.20/drivers/net/bmac.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.20/drivers/net/bmac.c linux-2.4.21/drivers/net/bmac.c
@@ -1401,9 +1401,7 @@
bp->queue = (struct sk_buff_head *)(bp->rx_cmds + N_RX_RING + 1);
skb_queue_head_init(bp->queue);
- memset((char *) bp->tx_cmds, 0,
- (N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd));
- /* init_timer(&bp->tx_timeout); */
+ init_timer(&bp->tx_timeout);
/* bp->timeout_active = 0; */
ret = request_irq(dev->irq, bmac_misc_intr, 0, "BMAC-misc", dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)