Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283328
b: refs/heads/master
c: d5dea7d
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and Jesse Barnes committed Jan 6, 2012
1 parent 2968018 commit 37fd929
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4716a450eb490090b70f0d9fca8d0a6159e505ad
refs/heads/master: d5dea7d95c48d7bc951cee4910a7fd9c0cd26fb0
10 changes: 10 additions & 0 deletions trunk/drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,5 +981,15 @@ EXPORT_SYMBOL(pci_msi_enabled);

void pci_msi_init_pci_dev(struct pci_dev *dev)
{
int pos;
INIT_LIST_HEAD(&dev->msi_list);

/* Disable the msi hardware to avoid screaming interrupts
* during boot. This is the power on reset default so
* usually this should be a noop.
*/
pos = pci_find_capability(dev, PCI_CAP_ID_MSI);
if (pos)
msi_set_enable(dev, pos, 0);
msix_set_enable(dev, 0);
}

0 comments on commit 37fd929

Please sign in to comment.