diff options
Diffstat (limited to 'drivers/net/stmmac/enh_desc.c')
-rw-r--r-- | drivers/net/stmmac/enh_desc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/stmmac/enh_desc.c b/drivers/net/stmmac/enh_desc.c index e5ac2593dc68..eb5684a1f713 100644 --- a/drivers/net/stmmac/enh_desc.c +++ b/drivers/net/stmmac/enh_desc.c | |||
@@ -40,7 +40,7 @@ static int enh_desc_get_tx_status(void *data, struct stmmac_extra_stats *x, | |||
40 | if (unlikely(p->des01.etx.frame_flushed)) { | 40 | if (unlikely(p->des01.etx.frame_flushed)) { |
41 | CHIP_DBG(KERN_ERR "\tframe_flushed error\n"); | 41 | CHIP_DBG(KERN_ERR "\tframe_flushed error\n"); |
42 | x->tx_frame_flushed++; | 42 | x->tx_frame_flushed++; |
43 | /*enh_desc_flush_tx_fifo(ioaddr);*/ | 43 | dwmac_dma_flush_tx_fifo(ioaddr); |
44 | } | 44 | } |
45 | 45 | ||
46 | if (unlikely(p->des01.etx.loss_carrier)) { | 46 | if (unlikely(p->des01.etx.loss_carrier)) { |
@@ -68,7 +68,7 @@ static int enh_desc_get_tx_status(void *data, struct stmmac_extra_stats *x, | |||
68 | 68 | ||
69 | if (unlikely(p->des01.etx.underflow_error)) { | 69 | if (unlikely(p->des01.etx.underflow_error)) { |
70 | CHIP_DBG(KERN_ERR "\tunderflow error\n"); | 70 | CHIP_DBG(KERN_ERR "\tunderflow error\n"); |
71 | /*enh_desc_flush_tx_fifo(ioaddr);*/ | 71 | dwmac_dma_flush_tx_fifo(ioaddr); |
72 | x->tx_underflow++; | 72 | x->tx_underflow++; |
73 | } | 73 | } |
74 | 74 | ||
@@ -80,7 +80,7 @@ static int enh_desc_get_tx_status(void *data, struct stmmac_extra_stats *x, | |||
80 | if (unlikely(p->des01.etx.payload_error)) { | 80 | if (unlikely(p->des01.etx.payload_error)) { |
81 | CHIP_DBG(KERN_ERR "\tAddr/Payload csum error\n"); | 81 | CHIP_DBG(KERN_ERR "\tAddr/Payload csum error\n"); |
82 | x->tx_payload_error++; | 82 | x->tx_payload_error++; |
83 | /*enh_desc_flush_tx_fifo(ioaddr);*/ | 83 | dwmac_dma_flush_tx_fifo(ioaddr); |
84 | } | 84 | } |
85 | 85 | ||
86 | ret = -1; | 86 | ret = -1; |