Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362913
b: refs/heads/master
c: 4d18760
h: refs/heads/master
i:
  362911: 7576ee6
v: v3
  • Loading branch information
Bjorn Helgaas committed Apr 23, 2013
1 parent 49cbeca commit 490cfb9
Show file tree
Hide file tree
Showing 2 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: 78b5a310ce0ff22889e1a1af932e5c17b26962ba
refs/heads/master: 4d18760c67af2688a6f9d3f0131dc505e0b9f2c9
4 changes: 2 additions & 2 deletions trunk/drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,8 @@ static void __iomem *msix_map_region(struct pci_dev *dev, unsigned nr_entries)

pci_read_config_dword(dev, dev->msix_cap + PCI_MSIX_TABLE,
&table_offset);
bir = (u8)(table_offset & PCI_MSIX_FLAGS_BIRMASK);
table_offset &= ~PCI_MSIX_FLAGS_BIRMASK;
bir = (u8)(table_offset & PCI_MSIX_TABLE_BIR);
table_offset &= PCI_MSIX_TABLE_OFFSET;
phys_addr = pci_resource_start(dev, bir) + table_offset;

return ioremap_nocache(phys_addr, nr_entries * PCI_MSIX_ENTRY_SIZE);
Expand Down

0 comments on commit 490cfb9

Please sign in to comment.