diff options
Diffstat (limited to 'drivers/net/e100.c')
-rw-r--r-- | drivers/net/e100.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c index ab0868cb120c..3909829d5199 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c | |||
@@ -1657,13 +1657,14 @@ static int e100_tx_clean(struct nic *nic) | |||
1657 | 1657 | ||
1658 | spin_lock(&nic->cb_lock); | 1658 | spin_lock(&nic->cb_lock); |
1659 | 1659 | ||
1660 | DPRINTK(TX_DONE, DEBUG, "cb->status = 0x%04X\n", | ||
1661 | nic->cb_to_clean->status); | ||
1662 | |||
1663 | /* Clean CBs marked complete */ | 1660 | /* Clean CBs marked complete */ |
1664 | for(cb = nic->cb_to_clean; | 1661 | for(cb = nic->cb_to_clean; |
1665 | cb->status & cpu_to_le16(cb_complete); | 1662 | cb->status & cpu_to_le16(cb_complete); |
1666 | cb = nic->cb_to_clean = cb->next) { | 1663 | cb = nic->cb_to_clean = cb->next) { |
1664 | DPRINTK(TX_DONE, DEBUG, "cb[%d]->status = 0x%04X\n", | ||
1665 | (int)(((void*)cb - (void*)nic->cbs)/sizeof(struct cb)), | ||
1666 | cb->status); | ||
1667 | |||
1667 | if(likely(cb->skb != NULL)) { | 1668 | if(likely(cb->skb != NULL)) { |
1668 | nic->net_stats.tx_packets++; | 1669 | nic->net_stats.tx_packets++; |
1669 | nic->net_stats.tx_bytes += cb->skb->len; | 1670 | nic->net_stats.tx_bytes += cb->skb->len; |