Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 282789
b: refs/heads/master
c: a776c49
h: refs/heads/master
i:
  282787: 692ee5c
v: v3
  • Loading branch information
Eric W. Biederman authored and Jesse Barnes committed Dec 5, 2011
1 parent adca925 commit e2c6b05
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: a424948dde8421089826e2f782d0efe9e565707e
refs/heads/master: a776c491ca5e38c26d9f66923ff574d041e747f4
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 e2c6b05

Please sign in to comment.