Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 108115
b: refs/heads/master
c: abad2ec
h: refs/heads/master
i:
  108113: bd7de85
  108111: f99cd6c
v: v3
  • Loading branch information
Jesse Barnes committed Aug 7, 2008
1 parent 149e67b commit 483cf29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: cb3952bf7853667a1cb3515e67f27e67f0fce9e8
refs/heads/master: abad2ec98f2ef357d62026cbc3989dabf33f2435
5 changes: 2 additions & 3 deletions trunk/drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,8 @@ static void __pci_restore_msi_state(struct pci_dev *dev)
entry->msi_attrib.masked);

pci_read_config_word(dev, pos + PCI_MSI_FLAGS, &control);
control &= ~(PCI_MSI_FLAGS_QSIZE | PCI_MSI_FLAGS_ENABLE);
if (entry->msi_attrib.maskbit || !entry->msi_attrib.masked)
control |= PCI_MSI_FLAGS_ENABLE;
control &= ~PCI_MSI_FLAGS_QSIZE;
control |= PCI_MSI_FLAGS_ENABLE;
pci_write_config_word(dev, pos + PCI_MSI_FLAGS, control);
}

Expand Down

0 comments on commit 483cf29

Please sign in to comment.