aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2005-11-29 23:08:36 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 20:11:41 -0500
commit1e8eb21ea7b5c318d881eab878f3e545e55fa273 (patch)
tree1b71ccc72e260c10929ac09432e9a4c0d657113d
parent44f30b0f59d628eb6f57cfa9d8ab06da670e5306 (diff)
[SCSI] sym2: Use DMA_40BIT_MASK constant
Now that this constant has been added to dma-mapping.h, we don't need our own definition Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c
index d924997db48b..bb90ef9659ab 100644
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c
@@ -1532,7 +1532,7 @@ static int sym_setup_bus_dma_mask(struct sym_hcb *np)
1532{ 1532{
1533#if SYM_CONF_DMA_ADDRESSING_MODE > 0 1533#if SYM_CONF_DMA_ADDRESSING_MODE > 0
1534#if SYM_CONF_DMA_ADDRESSING_MODE == 1 1534#if SYM_CONF_DMA_ADDRESSING_MODE == 1
1535#define DMA_DAC_MASK 0x000000ffffffffffULL /* 40-bit */ 1535#define DMA_DAC_MASK DMA_40BIT_MASK
1536#elif SYM_CONF_DMA_ADDRESSING_MODE == 2 1536#elif SYM_CONF_DMA_ADDRESSING_MODE == 2
1537#define DMA_DAC_MASK DMA_64BIT_MASK 1537#define DMA_DAC_MASK DMA_64BIT_MASK
1538#endif 1538#endif