atl1: fix typo in DMA engine setup
authorJay Cliburn <jacliburn@bellsouth.net>
Thu, 19 Jul 2007 23:45:11 +0000 (18:45 -0500)
committerJeff Garzik <jeff@garzik.org>
Tue, 24 Jul 2007 20:28:40 +0000 (16:28 -0400)
The DMA engine setup contains a typo that can result in an incorrect
dmaw_block setting.

Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/atl1/atl1_main.c

index 79d60e14775c8c99a8b732191c8fbf785f5d006a..3b8f633ec05e503af1106df7c5809e53fc9554d4 100644 (file)
@@ -908,8 +908,8 @@ static u32 atl1_configure(struct atl1_adapter *adapter)
        /* config DMA Engine */
        value = ((((u32) hw->dmar_block) & DMA_CTRL_DMAR_BURST_LEN_MASK)
                << DMA_CTRL_DMAR_BURST_LEN_SHIFT) |
-               ((((u32) hw->dmaw_block) & DMA_CTRL_DMAR_BURST_LEN_MASK)
-               << DMA_CTRL_DMAR_BURST_LEN_SHIFT) | DMA_CTRL_DMAR_EN |
+               ((((u32) hw->dmaw_block) & DMA_CTRL_DMAW_BURST_LEN_MASK)
+               << DMA_CTRL_DMAW_BURST_LEN_SHIFT) | DMA_CTRL_DMAR_EN |
                DMA_CTRL_DMAW_EN;
        value |= (u32) hw->dma_ord;
        if (atl1_rcb_128 == hw->rcb_value)