Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39903
b: refs/heads/master
c: 11f242f
h: refs/heads/master
i:
  39901: 04904bd
  39899: 108a768
  39895: 1dfaa16
  39887: e245577
  39871: b4866b1
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Oct 18, 2006
1 parent ecd4e90 commit 79b437c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 0cc2b3763e06e84ae5a90b63e03cc1d585a109d0
refs/heads/master: 11f242f04c6d886494cc83097cb6def044eabebb
3 changes: 2 additions & 1 deletion trunk/drivers/pci/quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1840,14 +1840,15 @@ static void __devinit quirk_nvidia_ck804_msi_ht_cap(struct pci_dev *dev)
/* check HT MSI cap on this chipset and the root one.
* a single one having MSI is enough to be sure that MSI are supported.
*/
pdev = pci_find_slot(dev->bus->number, 0);
pdev = pci_get_slot(dev->bus, 0);
if (dev->subordinate && !msi_ht_cap_enabled(dev)
&& !msi_ht_cap_enabled(pdev)) {
printk(KERN_WARNING "PCI: MSI quirk detected. "
"MSI disabled on chipset %s.\n",
pci_name(dev));
dev->subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MSI;
}
pci_dev_put(pdev);
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_CK804_PCIE,
quirk_nvidia_ck804_msi_ht_cap);
Expand Down

0 comments on commit 79b437c

Please sign in to comment.