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) ...@@ -1473,12 +1473,8 @@ static void netdev_tx_done(struct net_device *dev)
for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) { for (; np->cur_tx - np->dirty_tx > 0; np->dirty_tx++) {
int entry = np->dirty_tx % TX_RING_SIZE; int entry = np->dirty_tx % TX_RING_SIZE;
if (np->tx_ring[entry].cmd_status & cpu_to_le32(DescOwn)) { 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);
break; break;
}
if (netif_msg_tx_done(np)) if (netif_msg_tx_done(np))
printk(KERN_DEBUG printk(KERN_DEBUG
"%s: tx frame #%d finished, status %#08x.\n", "%s: tx frame #%d finished, status %#08x.\n",
...@@ -1589,11 +1585,7 @@ static void netdev_rx(struct net_device *dev) ...@@ -1589,11 +1585,7 @@ static void netdev_rx(struct net_device *dev)
np->cur_rx, desc_status); np->cur_rx, desc_status);
np->stats.rx_length_errors++; np->stats.rx_length_errors++;
} else { } else {
/* There was a error. */ /* There was an error. */
if (netif_msg_rx_err(np))
printk(KERN_DEBUG
" netdev_rx() Rx error was "
"%#08x.\n", desc_status);
np->stats.rx_errors++; np->stats.rx_errors++;
if (desc_status & (DescRxAbort|DescRxOver)) if (desc_status & (DescRxAbort|DescRxOver))
np->stats.rx_over_errors++; 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