diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2009-04-06 22:01:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 11:31:11 -0400 |
commit | 284901a90a9e0b812ca3f5f852cbbfb60d10249d (patch) | |
tree | 06c1b5a0f83c90cfb662f756e7781977ce739ce8 /drivers/scsi/megaraid/megaraid_mbox.c | |
parent | 6afd142fd0dfba497246d0fab236c20a7b4bf778 (diff) |
dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_mbox.c')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index b2c19449119d..234f0b7eb21c 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -473,7 +473,7 @@ megaraid_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
473 | 473 | ||
474 | // Setup the default DMA mask. This would be changed later on | 474 | // Setup the default DMA mask. This would be changed later on |
475 | // depending on hardware capabilities | 475 | // depending on hardware capabilities |
476 | if (pci_set_dma_mask(adapter->pdev, DMA_32BIT_MASK) != 0) { | 476 | if (pci_set_dma_mask(adapter->pdev, DMA_BIT_MASK(32)) != 0) { |
477 | 477 | ||
478 | con_log(CL_ANN, (KERN_WARNING | 478 | con_log(CL_ANN, (KERN_WARNING |
479 | "megaraid: pci_set_dma_mask failed:%d\n", __LINE__)); | 479 | "megaraid: pci_set_dma_mask failed:%d\n", __LINE__)); |
@@ -904,7 +904,7 @@ megaraid_init_mbox(adapter_t *adapter) | |||
904 | con_log(CL_ANN, (KERN_WARNING | 904 | con_log(CL_ANN, (KERN_WARNING |
905 | "megaraid: DMA mask for 64-bit failed\n")); | 905 | "megaraid: DMA mask for 64-bit failed\n")); |
906 | 906 | ||
907 | if (pci_set_dma_mask (adapter->pdev, DMA_32BIT_MASK)) { | 907 | if (pci_set_dma_mask (adapter->pdev, DMA_BIT_MASK(32))) { |
908 | con_log(CL_ANN, (KERN_WARNING | 908 | con_log(CL_ANN, (KERN_WARNING |
909 | "megaraid: 32-bit DMA mask failed\n")); | 909 | "megaraid: 32-bit DMA mask failed\n")); |
910 | goto out_free_sysfs_res; | 910 | goto out_free_sysfs_res; |