diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/yellowfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index fe6ff3e3d525..24640726f8bb 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c | |||
@@ -770,14 +770,14 @@ static void yellowfin_init_ring(struct net_device *dev) | |||
770 | /* Branch on Tx error. */ | 770 | /* Branch on Tx error. */ |
771 | yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP); | 771 | yp->tx_ring[j].dbdma_cmd = cpu_to_le32(CMD_STOP); |
772 | yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + | 772 | yp->tx_ring[j].branch_addr = cpu_to_le32(yp->tx_ring_dma + |
773 | (j+1)*sizeof(struct yellowfin_desc); | 773 | (j+1)*sizeof(struct yellowfin_desc)); |
774 | j++; | 774 | j++; |
775 | if (yp->flags & FullTxStatus) { | 775 | if (yp->flags & FullTxStatus) { |
776 | yp->tx_ring[j].dbdma_cmd = | 776 | yp->tx_ring[j].dbdma_cmd = |
777 | cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status)); | 777 | cpu_to_le32(CMD_TXSTATUS | sizeof(*yp->tx_status)); |
778 | yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); | 778 | yp->tx_ring[j].request_cnt = sizeof(*yp->tx_status); |
779 | yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma + | 779 | yp->tx_ring[j].addr = cpu_to_le32(yp->tx_status_dma + |
780 | i*sizeof(struct tx_status_words); | 780 | i*sizeof(struct tx_status_words)); |
781 | } else { | 781 | } else { |
782 | /* Symbios chips write only tx_errs word. */ | 782 | /* Symbios chips write only tx_errs word. */ |
783 | yp->tx_ring[j].dbdma_cmd = | 783 | yp->tx_ring[j].dbdma_cmd = |