[PATCH 05/12]Replace all DMA_35BIT_MASK micro with DMA_BIT_MASK(35)
From: Yang Hongyang
Date: Thu Feb 19 2009 - 01:44:12 EST
Replace all DMA_35BIT_MASK micro with DMA_BIT_MASK(35)
Signed-off-by: Yang Hongyang<yanghy@xxxxxxxxxxxxxx>
---
drivers/net/netxen/netxen_nic_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c
index 8bea4cb..2d4e41b 100644
--- a/drivers/net/netxen/netxen_nic_main.c
+++ b/drivers/net/netxen/netxen_nic_main.c
@@ -183,8 +183,8 @@ static int nx_set_dma_mask(struct netxen_adapter *adapter, uint8_t revision_id)
adapter->dma_mask = DMA_BIT_MASK(39);
mask = DMA_BIT_MASK(39);
} else if (revision_id == NX_P2_C1) {
- adapter->dma_mask = DMA_35BIT_MASK;
- mask = DMA_35BIT_MASK;
+ adapter->dma_mask = DMA_BIT_MASK(35);
+ mask = DMA_BIT_MASK(35);
} else {
adapter->dma_mask = DMA_32BIT_MASK;
mask = DMA_32BIT_MASK;
--
1.6.0.3
--
Regards
Yang Hongyang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/