Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122286
b: refs/heads/master
c: 1d450cf
h: refs/heads/master
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Nov 25, 2008
1 parent 8425498 commit 17b1108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1ca2167d89d991eed519c789d3902f9682c06b8
refs/heads/master: 1d450cfc97bc223e9f94a2fab888bb168e284448
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,9 +1591,8 @@ static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
if (pci_enable_device(pdev))
return -EIO;

/* XXX 32-bit addressing only */
if (pci_set_dma_mask(pdev, 0xffffffff)) {
printk(KERN_ERR "ath_pci: 32-bit DMA not available\n");
if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {
printk(KERN_ERR "ath9k: 32-bit DMA not available\n");
ret = -ENODEV;
goto bad;
}
Expand Down

0 comments on commit 17b1108

Please sign in to comment.