diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-11-13 22:11:56 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-25 16:41:35 -0500 |
commit | 1d450cfc97bc223e9f94a2fab888bb168e284448 (patch) | |
tree | 7d53aa9e19bd250cc37978ceb57027911d59561e | |
parent | f1ca2167d89d991eed519c789d3902f9682c06b8 (diff) |
ath9k: Clarify we only want 32-bit DMA
Use DMA_32BIT_MASK to clarify we only want 32-bit DMA
memory. What was there before is also 32-bit but this makes it
clearer
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index c928db9dc0f0..9d64ef565c03 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -1591,9 +1591,8 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1591 | if (pci_enable_device(pdev)) | 1591 | if (pci_enable_device(pdev)) |
1592 | return -EIO; | 1592 | return -EIO; |
1593 | 1593 | ||
1594 | /* XXX 32-bit addressing only */ | 1594 | if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) { |
1595 | if (pci_set_dma_mask(pdev, 0xffffffff)) { | 1595 | printk(KERN_ERR "ath9k: 32-bit DMA not available\n"); |
1596 | printk(KERN_ERR "ath_pci: 32-bit DMA not available\n"); | ||
1597 | ret = -ENODEV; | 1596 | ret = -ENODEV; |
1598 | goto bad; | 1597 | goto bad; |
1599 | } | 1598 | } |