aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/dl2k.c')
-rw-r--r--drivers/net/dl2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c
index c749e9fb47e..4a1b554654e 100644
--- a/drivers/net/dl2k.c
+++ b/drivers/net/dl2k.c
@@ -714,7 +714,7 @@ rio_interrupt (int irq, void *dev_instance)
714 714
715static inline dma_addr_t desc_to_dma(struct netdev_desc *desc) 715static inline dma_addr_t desc_to_dma(struct netdev_desc *desc)
716{ 716{
717 return le64_to_cpu(desc->fraginfo) & DMA_48BIT_MASK; 717 return le64_to_cpu(desc->fraginfo) & DMA_BIT_MASK(48);
718} 718}
719 719
720static void 720static void