提交 3f516c00 编写于 作者: J Jay Cliburn 提交者: Jeff Garzik

atl1: fix typo in DMA engine setup

The DMA engine setup contains a typo that can result in an incorrect
dmaw_block setting.
Signed-off-by: NJay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 e6a7ff4a
...@@ -908,8 +908,8 @@ static u32 atl1_configure(struct atl1_adapter *adapter) ...@@ -908,8 +908,8 @@ static u32 atl1_configure(struct atl1_adapter *adapter)
/* config DMA Engine */ /* config DMA Engine */
value = ((((u32) hw->dmar_block) & DMA_CTRL_DMAR_BURST_LEN_MASK) value = ((((u32) hw->dmar_block) & DMA_CTRL_DMAR_BURST_LEN_MASK)
<< DMA_CTRL_DMAR_BURST_LEN_SHIFT) | << DMA_CTRL_DMAR_BURST_LEN_SHIFT) |
((((u32) hw->dmaw_block) & DMA_CTRL_DMAR_BURST_LEN_MASK) ((((u32) hw->dmaw_block) & DMA_CTRL_DMAW_BURST_LEN_MASK)
<< DMA_CTRL_DMAR_BURST_LEN_SHIFT) | DMA_CTRL_DMAR_EN | << DMA_CTRL_DMAW_BURST_LEN_SHIFT) | DMA_CTRL_DMAR_EN |
DMA_CTRL_DMAW_EN; DMA_CTRL_DMAW_EN;
value |= (u32) hw->dma_ord; value |= (u32) hw->dma_ord;
if (atl1_rcb_128 == hw->rcb_value) if (atl1_rcb_128 == hw->rcb_value)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册