Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102459
b: refs/heads/master
c: cc2a8ea
h: refs/heads/master
i:
  102457: 92b713d
  102455: 0702f05
v: v3
  • Loading branch information
Ron Rindjunsky authored and John W. Linville committed May 7, 2008
1 parent aae38f1 commit d8dd26c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 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: b73cdf27e0f412bcd01802287bb9710e6b74fca5
refs/heads/master: cc2a8ea82ef869532cb7764b9eac30338773fe88
14 changes: 10 additions & 4 deletions trunk/drivers/net/wireless/iwlwifi/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -7440,13 +7440,19 @@ static int iwl4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e

pci_set_master(pdev);

err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
err = pci_set_dma_mask(pdev, DMA_64BIT_MASK);
if (!err)
err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
err = pci_set_consistent_dma_mask(pdev, DMA_64BIT_MASK);
if (err) {
err = pci_set_dma_mask(pdev, DMA_32BIT_MASK);
if (!err)
err = pci_set_consistent_dma_mask(pdev, DMA_32BIT_MASK);
/* both attempts failed: */
if (err) {
printk(KERN_WARNING DRV_NAME
": No suitable DMA available.\n");
printk(KERN_WARNING "%s: No suitable DMA available.\n",
DRV_NAME);
goto out_pci_disable_device;
}
}

err = pci_request_regions(pdev, DRV_NAME);
Expand Down

0 comments on commit d8dd26c

Please sign in to comment.