diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-06-18 19:49:17 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 19:46:06 -0400 |
commit | 8e20ce94ce378334dea83a83ab26253b851100a2 (patch) | |
tree | f75e2d51b4b54842833b20a9cc9cfc569cbfe7a6 /drivers/message/fusion | |
parent | a90b037583d5f1ae3e54e9c687c79df82d1d34a4 (diff) |
convert some DMA_nnBIT_MASK() callers
We're about to make DMA_nnBIT_MASK() emit `deprecated' warnings. Convert the
remaining stragglers which are visible to the x86_64 build.
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Eric Moore <Eric.Moore@lsil.com>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Yi Zou <yi.zou@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 0df065275cd3..5d0ba4f5924c 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -4414,11 +4414,11 @@ PrimeIocFifos(MPT_ADAPTER *ioc) | |||
4414 | * 1078 errata workaround for the 36GB limitation | 4414 | * 1078 errata workaround for the 36GB limitation |
4415 | */ | 4415 | */ |
4416 | if (ioc->pcidev->device == MPI_MANUFACTPAGE_DEVID_SAS1078 && | 4416 | if (ioc->pcidev->device == MPI_MANUFACTPAGE_DEVID_SAS1078 && |
4417 | ioc->dma_mask > DMA_35BIT_MASK) { | 4417 | ioc->dma_mask > DMA_BIT_MASK(35)) { |
4418 | if (!pci_set_dma_mask(ioc->pcidev, DMA_BIT_MASK(32)) | 4418 | if (!pci_set_dma_mask(ioc->pcidev, DMA_BIT_MASK(32)) |
4419 | && !pci_set_consistent_dma_mask(ioc->pcidev, | 4419 | && !pci_set_consistent_dma_mask(ioc->pcidev, |
4420 | DMA_BIT_MASK(32))) { | 4420 | DMA_BIT_MASK(32))) { |
4421 | dma_mask = DMA_35BIT_MASK; | 4421 | dma_mask = DMA_BIT_MASK(35); |
4422 | d36memprintk(ioc, printk(MYIOC_s_DEBUG_FMT | 4422 | d36memprintk(ioc, printk(MYIOC_s_DEBUG_FMT |
4423 | "setting 35 bit addressing for " | 4423 | "setting 35 bit addressing for " |
4424 | "Request/Reply/Chain and Sense Buffers\n", | 4424 | "Request/Reply/Chain and Sense Buffers\n", |
@@ -4575,7 +4575,7 @@ PrimeIocFifos(MPT_ADAPTER *ioc) | |||
4575 | alloc_dma += ioc->reply_sz; | 4575 | alloc_dma += ioc->reply_sz; |
4576 | } | 4576 | } |
4577 | 4577 | ||
4578 | if (dma_mask == DMA_35BIT_MASK && !pci_set_dma_mask(ioc->pcidev, | 4578 | if (dma_mask == DMA_BIT_MASK(35) && !pci_set_dma_mask(ioc->pcidev, |
4579 | ioc->dma_mask) && !pci_set_consistent_dma_mask(ioc->pcidev, | 4579 | ioc->dma_mask) && !pci_set_consistent_dma_mask(ioc->pcidev, |
4580 | ioc->dma_mask)) | 4580 | ioc->dma_mask)) |
4581 | d36memprintk(ioc, printk(MYIOC_s_DEBUG_FMT | 4581 | d36memprintk(ioc, printk(MYIOC_s_DEBUG_FMT |
@@ -4602,7 +4602,7 @@ out_fail: | |||
4602 | ioc->sense_buf_pool = NULL; | 4602 | ioc->sense_buf_pool = NULL; |
4603 | } | 4603 | } |
4604 | 4604 | ||
4605 | if (dma_mask == DMA_35BIT_MASK && !pci_set_dma_mask(ioc->pcidev, | 4605 | if (dma_mask == DMA_BIT_MASK(35) && !pci_set_dma_mask(ioc->pcidev, |
4606 | DMA_BIT_MASK(64)) && !pci_set_consistent_dma_mask(ioc->pcidev, | 4606 | DMA_BIT_MASK(64)) && !pci_set_consistent_dma_mask(ioc->pcidev, |
4607 | DMA_BIT_MASK(64))) | 4607 | DMA_BIT_MASK(64))) |
4608 | d36memprintk(ioc, printk(MYIOC_s_DEBUG_FMT | 4608 | d36memprintk(ioc, printk(MYIOC_s_DEBUG_FMT |