diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2009-04-06 22:01:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 11:31:10 -0400 |
commit | 50cf156af7dc68a44409bef636585ef88ebbab34 (patch) | |
tree | a70e4a9ad805904f6e98bf654d6de7a55fe77e98 /drivers/net/ipg.c | |
parent | e911e0d9af90e4f1b4f2cf183a0993f9fed9f9c6 (diff) |
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>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r-- | drivers/net/ipg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 360aa5e35fda..ed9ded939d96 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c | |||
@@ -2240,7 +2240,7 @@ static int __devinit ipg_probe(struct pci_dev *pdev, | |||
2240 | 2240 | ||
2241 | pci_set_master(pdev); | 2241 | pci_set_master(pdev); |
2242 | 2242 | ||
2243 | rc = pci_set_dma_mask(pdev, DMA_40BIT_MASK); | 2243 | rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(40)); |
2244 | if (rc < 0) { | 2244 | if (rc < 0) { |
2245 | rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK); | 2245 | rc = pci_set_dma_mask(pdev, DMA_32BIT_MASK); |
2246 | if (rc < 0) { | 2246 | if (rc < 0) { |