for (i = 0 ; i < RX_RING_SIZE; i++) 
for (i = 0 ; i < lp->rx_ring_size; i++) 
pcnet32_tx_timeout (struct net_device *dev){    struct pcnet32_private *lp = dev->priv;    unsigned long ioaddr = dev->base_addr, flags;    spin_lock_irqsave(&lp->lock, flags);    /* Transmitter timeout, serious problems. */    if (pcnet32_debug & NETIF_MSG_DRV)	printk(KERN_ERR "%s: transmit timed out, status %4.4x, resetting.\n",		dev->name, lp->a.read_csr(ioaddr, 0));    lp->a.write_csr (ioaddr, 0, 0x0004);    lp->stats.tx_errors++;    if (netif_msg_tx_err(lp)) {	int i;	printk(KERN_DEBUG " Ring data dump: dirty_tx %d cur_tx %d%s cur_rx %d.",	   lp->dirty_tx, lp->cur_tx, lp->tx_full ? " (full)" : "",	   lp->cur_rx);	for (i = 0 ; i < RX_RING_SIZE; i++)	printk("%s %08x %04x %08x %04x", i & 1 ? "" : "\n ",	       le32_to_cpu(lp->rx_ring[i].base),	       (-le16_to_cpu(lp->rx_ring[i].buf_length)) & 0xffff,	       le32_to_cpu(lp->rx_ring[i].msg_length),	       le16_to_cpu(lp->rx_ring[i].status));	for (i = 0 ; i < TX_RING_SIZE; i++)	printk("%s %08x %04x %08x %04x", i & 1 ? "" : "\n ",	       le32_to_cpu(lp->tx_ring[i].base),	       (-le16_to_cpu(lp->tx_ring[i].length)) & 0xffff,	       le32_to_cpu(lp->tx_ring[i].misc),	       le16_to_cpu(lp->tx_ring[i].status));	printk("\n");    }    pcnet32_restart(dev, 0x0042);    dev->trans_start = jiffies;    netif_wake_queue(dev);    spin_unlock_irqrestore(&lp->lock, flags);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9/pcnet32.c/buggy/drivers/net/pcnet32.c