dma-mapping: replace all DMA_40BIT_MASK macro with DMA_BIT_MASK(40)
Replace all DMA_40BIT_MASK macro with DMA_BIT_MASK(40) 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>
This commit is contained in:
committed by
Linus Torvalds
parent
e911e0d9af
commit
50cf156af7
@@ -7525,7 +7525,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
|
||||
|
||||
/* 5708 cannot support DMA addresses > 40-bit. */
|
||||
if (CHIP_NUM(bp) == CHIP_NUM_5708)
|
||||
persist_dma_mask = dma_mask = DMA_40BIT_MASK;
|
||||
persist_dma_mask = dma_mask = DMA_BIT_MASK(40);
|
||||
else
|
||||
persist_dma_mask = dma_mask = DMA_BIT_MASK(64);
|
||||
|
||||
|
Reference in New Issue
Block a user