mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
[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>
This commit is contained in:
parent
44f30b0f59
commit
1e8eb21ea7
@ -1532,7 +1532,7 @@ static int sym_setup_bus_dma_mask(struct sym_hcb *np)
|
||||
{
|
||||
#if SYM_CONF_DMA_ADDRESSING_MODE > 0
|
||||
#if SYM_CONF_DMA_ADDRESSING_MODE == 1
|
||||
#define DMA_DAC_MASK 0x000000ffffffffffULL /* 40-bit */
|
||||
#define DMA_DAC_MASK DMA_40BIT_MASK
|
||||
#elif SYM_CONF_DMA_ADDRESSING_MODE == 2
|
||||
#define DMA_DAC_MASK DMA_64BIT_MASK
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user