aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_inic162x.c
diff options
context:
space:
mode:
authorYang Hongyang <yanghy@cn.fujitsu.com>2009-04-06 22:01:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 11:31:11 -0400
commit284901a90a9e0b812ca3f5f852cbbfb60d10249d (patch)
tree06c1b5a0f83c90cfb662f756e7781977ce739ce8 /drivers/ata/sata_inic162x.c
parent6afd142fd0dfba497246d0fab236c20a7b4bf778 (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/ata/sata_inic162x.c')
-rw-r--r--drivers/ata/sata_inic162x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c
index 305a4f825f53..8d890cc5a7ee 100644
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -861,14 +861,14 @@ static int inic_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
861 } 861 }
862 862
863 /* Set dma_mask. This devices doesn't support 64bit addressing. */ 863 /* Set dma_mask. This devices doesn't support 64bit addressing. */
864 rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK); 864 rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
865 if (rc) { 865 if (rc) {
866 dev_printk(KERN_ERR, &pdev->dev, 866 dev_printk(KERN_ERR, &pdev->dev,
867 "32-bit DMA enable failed\n"); 867 "32-bit DMA enable failed\n");
868 return rc; 868 return rc;
869 } 869 }
870 870
871 rc = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK); 871 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
872 if (rc) { 872 if (rc) {
873 dev_printk(KERN_ERR, &pdev->dev, 873 dev_printk(KERN_ERR, &pdev->dev,
874 "32-bit consistent DMA enable failed\n"); 874 "32-bit consistent DMA enable failed\n");