Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256658
b: refs/heads/master
c: 9b89925
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and Roland Dreier committed Jul 18, 2011
1 parent c937dca commit ce7fdc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: cdb73db0b6bf7a1bcf5c788f0c8f803facb6e517
refs/heads/master: 9b89925c0d8f7d1cc203682df4fab847a7b4b7ec
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/mthca/mthca_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static int mthca_tune_pci(struct mthca_dev *mdev)
} else if (!(mdev->mthca_flags & MTHCA_FLAG_PCIE))
mthca_info(mdev, "No PCI-X capability, not setting RBC.\n");

if (pci_find_capability(mdev->pdev, PCI_CAP_ID_EXP)) {
if (pci_is_pcie(mdev->pdev)) {
if (pcie_set_readrq(mdev->pdev, 4096)) {
mthca_err(mdev, "Couldn't write PCI Express read request, "
"aborting.\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/infiniband/hw/mthca/mthca_reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int mthca_reset(struct mthca_dev *mdev)
}

hca_pcix_cap = pci_find_capability(mdev->pdev, PCI_CAP_ID_PCIX);
hca_pcie_cap = pci_find_capability(mdev->pdev, PCI_CAP_ID_EXP);
hca_pcie_cap = pci_pcie_cap(mdev->pdev);

if (bridge) {
bridge_header = kmalloc(256, GFP_KERNEL);
Expand Down

0 comments on commit ce7fdc4

Please sign in to comment.