diff options
author | Jay Cliburn <jacliburn@bellsouth.net> | 2007-07-19 19:45:11 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-24 16:28:40 -0400 |
commit | 3f516c00d416bd39aab6cfb348b68919e295fe23 (patch) | |
tree | 8e28b9d93bcb202b730f3d34ee5f1edcef0917a2 /drivers | |
parent | e6a7ff4a617ad3f6a59e2576d430b9292299d067 (diff) |
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: Jay Cliburn <jacliburn@bellsouth.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/atl1/atl1_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atl1/atl1_main.c b/drivers/net/atl1/atl1_main.c index 79d60e14775c..3b8f633ec05e 100644 --- a/drivers/net/atl1/atl1_main.c +++ b/drivers/net/atl1/atl1_main.c | |||
@@ -908,8 +908,8 @@ static u32 atl1_configure(struct atl1_adapter *adapter) | |||
908 | /* config DMA Engine */ | 908 | /* config DMA Engine */ |
909 | value = ((((u32) hw->dmar_block) & DMA_CTRL_DMAR_BURST_LEN_MASK) | 909 | value = ((((u32) hw->dmar_block) & DMA_CTRL_DMAR_BURST_LEN_MASK) |
910 | << DMA_CTRL_DMAR_BURST_LEN_SHIFT) | | 910 | << DMA_CTRL_DMAR_BURST_LEN_SHIFT) | |
911 | ((((u32) hw->dmaw_block) & DMA_CTRL_DMAR_BURST_LEN_MASK) | 911 | ((((u32) hw->dmaw_block) & DMA_CTRL_DMAW_BURST_LEN_MASK) |
912 | << DMA_CTRL_DMAR_BURST_LEN_SHIFT) | DMA_CTRL_DMAR_EN | | 912 | << DMA_CTRL_DMAW_BURST_LEN_SHIFT) | DMA_CTRL_DMAR_EN | |
913 | DMA_CTRL_DMAW_EN; | 913 | DMA_CTRL_DMAW_EN; |
914 | value |= (u32) hw->dma_ord; | 914 | value |= (u32) hw->dma_ord; |
915 | if (atl1_rcb_128 == hw->rcb_value) | 915 | if (atl1_rcb_128 == hw->rcb_value) |