Commit e69d51af authored by Tim Hockin's avatar Tim Hockin

get rid of a couple extraneous natsemi enet error messages

parent cd5164a1
......@@ -1473,12 +1473,8 @@ static void netdev_tx_done(struct net_device *dev)
for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
int entry = np->dirty_tx % TX_RING_SIZE;
if (np->tx_ring[entry].cmd_status & cpu_to_le32(DescOwn)) {
if (netif_msg_tx_err(np))
printk(KERN_DEBUG "%s: tx frame #%d is busy.\n",
dev->name, np->dirty_tx);
if (np->tx_ring[entry].cmd_status & cpu_to_le32(DescOwn))
break;
}
if (netif_msg_tx_done(np))
printk(KERN_DEBUG
"%s: tx frame #%d finished, status %#08x.\n",
......@@ -1589,11 +1585,7 @@ static void netdev_rx(struct net_device *dev)
np->cur_rx, desc_status);
np->stats.rx_length_errors++;
} else {
/* There was a error. */
if (netif_msg_rx_err(np))
printk(KERN_DEBUG
" netdev_rx() Rx error was "
"%#08x.\n", desc_status);
/* There was an error. */
np->stats.rx_errors++;
if (desc_status & (DescRxAbort|DescRxOver))
np->stats.rx_over_errors++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment