Patchwork [PATCHv2,02/11] Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)

login
register
mail settings
Submitter Yang Hongyang
Date Feb. 19, 2009, 9:38 a.m.
Message ID <499D289A.7010305@cn.fujitsu.com>
Download mbox | patch
Permalink /patch/23418/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Yang Hongyang - Feb. 19, 2009, 9:38 a.m.
Replace all DMA_48BIT_MASK macro with DMA_BIT_MASK(48)

Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com>

---
 drivers/net/dl2k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index c749e9f..4a1b554 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -714,7 +714,7 @@  rio_interrupt (int irq, void *dev_instance)
 
 static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
 {
-	return le64_to_cpu(desc->fraginfo) & DMA_48BIT_MASK;
+	return le64_to_cpu(desc->fraginfo) & DMA_BIT_MASK(48);
 }
 
 static void