aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aachba.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-08 04:35:30 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-08 04:35:30 -0400
commit5ea472a77f8e4811ceee3f44a9deda6ad6e8b789 (patch)
treea9ec5019e2b666a19874fc344ffb0dd5da6bce94 /drivers/scsi/aacraid/aachba.c
parent6c009ecef8cca28c7c09eb16d0802e37915a76e1 (diff)
parent577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff)
Merge commit 'v2.6.30-rc1' into perfcounters/core
Conflicts: arch/powerpc/include/asm/systbl.h arch/powerpc/include/asm/unistd.h include/linux/init_task.h Merge reason: the conflicts are non-trivial: PowerPC placement of sys_perf_counter_open has to be mixed with the new preadv/pwrite syscalls. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/aacraid/aachba.c')
-rw-r--r--drivers/scsi/aacraid/aachba.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index 21964aaebca..280261c451d 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -1402,13 +1402,13 @@ int aac_get_adapter_info(struct aac_dev* dev)
1402 } 1402 }
1403 1403
1404 if(dev->dac_support != 0) { 1404 if(dev->dac_support != 0) {
1405 if (!pci_set_dma_mask(dev->pdev, DMA_64BIT_MASK) && 1405 if (!pci_set_dma_mask(dev->pdev, DMA_BIT_MASK(64)) &&
1406 !pci_set_consistent_dma_mask(dev->pdev, DMA_64BIT_MASK)) { 1406 !pci_set_consistent_dma_mask(dev->pdev, DMA_BIT_MASK(64))) {
1407 if (!dev->in_reset) 1407 if (!dev->in_reset)
1408 printk(KERN_INFO"%s%d: 64 Bit DAC enabled\n", 1408 printk(KERN_INFO"%s%d: 64 Bit DAC enabled\n",
1409 dev->name, dev->id); 1409 dev->name, dev->id);
1410 } else if (!pci_set_dma_mask(dev->pdev, DMA_32BIT_MASK) && 1410 } else if (!pci_set_dma_mask(dev->pdev, DMA_BIT_MASK(32)) &&
1411 !pci_set_consistent_dma_mask(dev->pdev, DMA_32BIT_MASK)) { 1411 !pci_set_consistent_dma_mask(dev->pdev, DMA_BIT_MASK(32))) {
1412 printk(KERN_INFO"%s%d: DMA mask set failed, 64 Bit DAC disabled\n", 1412 printk(KERN_INFO"%s%d: DMA mask set failed, 64 Bit DAC disabled\n",
1413 dev->name, dev->id); 1413 dev->name, dev->id);
1414 dev->dac_support = 0; 1414 dev->dac_support = 0;