Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149774
b: refs/heads/master
c: 3644ee0
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer authored and David S. Miller committed Apr 16, 2009
1 parent f12c377 commit 9800e3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8549889c3369f7653bd98861c3d2cf97d810dc37
refs/heads/master: 3644ee00c43cca08c9baac7eaea22250aaf84182
33 changes: 0 additions & 33 deletions trunk/drivers/net/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,41 +377,8 @@ fec_timeout(struct net_device *dev)
{
struct fec_enet_private *fep = netdev_priv(dev);

printk("%s: transmit timed out.\n", dev->name);
dev->stats.tx_errors++;
#ifndef final_version
{
int i;
struct bufdesc *bdp;

printk("Ring data dump: cur_tx %lx%s, dirty_tx %lx cur_rx: %lx\n",
(unsigned long)fep->cur_tx, fep->tx_full ? " (full)" : "",
(unsigned long)fep->dirty_tx,
(unsigned long)fep->cur_rx);

bdp = fep->tx_bd_base;
printk(" tx: %u buffers\n", TX_RING_SIZE);
for (i = 0 ; i < TX_RING_SIZE; i++) {
printk(" %08x: %04x %04x %08x\n",
(uint) bdp,
bdp->cbd_sc,
bdp->cbd_datlen,
(int) bdp->cbd_bufaddr);
bdp++;
}

bdp = fep->rx_bd_base;
printk(" rx: %lu buffers\n", (unsigned long) RX_RING_SIZE);
for (i = 0 ; i < RX_RING_SIZE; i++) {
printk(" %08x: %04x %04x %08x\n",
(uint) bdp,
bdp->cbd_sc,
bdp->cbd_datlen,
(int) bdp->cbd_bufaddr);
bdp++;
}
}
#endif
fec_restart(dev, fep->full_duplex);
netif_wake_queue(dev);
}
Expand Down

0 comments on commit 9800e3c

Please sign in to comment.