diff options
Diffstat (limited to 'drivers/net/irda/via-ircc.c')
-rw-r--r-- | drivers/net/irda/via-ircc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/via-ircc.c b/drivers/net/irda/via-ircc.c index 6d6479049aa1..2d456dd164fb 100644 --- a/drivers/net/irda/via-ircc.c +++ b/drivers/net/irda/via-ircc.c | |||
@@ -942,14 +942,14 @@ static int via_ircc_dma_xmit_complete(struct via_ircc_cb *self) | |||
942 | iobase = self->io.fir_base; | 942 | iobase = self->io.fir_base; |
943 | /* Disable DMA */ | 943 | /* Disable DMA */ |
944 | // DisableDmaChannel(self->io.dma); | 944 | // DisableDmaChannel(self->io.dma); |
945 | /* Check for underrrun! */ | 945 | /* Check for underrun! */ |
946 | /* Clear bit, by writing 1 into it */ | 946 | /* Clear bit, by writing 1 into it */ |
947 | Tx_status = GetTXStatus(iobase); | 947 | Tx_status = GetTXStatus(iobase); |
948 | if (Tx_status & 0x08) { | 948 | if (Tx_status & 0x08) { |
949 | self->netdev->stats.tx_errors++; | 949 | self->netdev->stats.tx_errors++; |
950 | self->netdev->stats.tx_fifo_errors++; | 950 | self->netdev->stats.tx_fifo_errors++; |
951 | hwreset(self); | 951 | hwreset(self); |
952 | // how to clear underrrun ? | 952 | /* how to clear underrun? */ |
953 | } else { | 953 | } else { |
954 | self->netdev->stats.tx_packets++; | 954 | self->netdev->stats.tx_packets++; |
955 | ResetChip(iobase, 3); | 955 | ResetChip(iobase, 3); |