diff options
Diffstat (limited to 'drivers/block/DAC960.c')
-rw-r--r-- | drivers/block/DAC960.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index f6a337c34ac4..5496865b297e 100644 --- a/drivers/block/DAC960.c +++ b/drivers/block/DAC960.c | |||
@@ -1372,8 +1372,8 @@ static bool DAC960_V2_EnableMemoryMailboxInterface(DAC960_Controller_T | |||
1372 | dma_addr_t CommandMailboxDMA; | 1372 | dma_addr_t CommandMailboxDMA; |
1373 | DAC960_V2_CommandStatus_T CommandStatus; | 1373 | DAC960_V2_CommandStatus_T CommandStatus; |
1374 | 1374 | ||
1375 | if (!pci_set_dma_mask(Controller->PCIDevice, DMA_64BIT_MASK)) | 1375 | if (!pci_set_dma_mask(Controller->PCIDevice, DMA_BIT_MASK(64))) |
1376 | Controller->BounceBufferLimit = DMA_64BIT_MASK; | 1376 | Controller->BounceBufferLimit = DMA_BIT_MASK(64); |
1377 | else if (!pci_set_dma_mask(Controller->PCIDevice, DMA_32BIT_MASK)) | 1377 | else if (!pci_set_dma_mask(Controller->PCIDevice, DMA_32BIT_MASK)) |
1378 | Controller->BounceBufferLimit = DMA_32BIT_MASK; | 1378 | Controller->BounceBufferLimit = DMA_32BIT_MASK; |
1379 | else | 1379 | else |