Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116721
b: refs/heads/master
c: e354597
h: refs/heads/master
i:
  116719: bfc0387
v: v3
  • Loading branch information
Peter Chubb authored and Jesse Barnes committed Oct 20, 2008
1 parent de13d15 commit 3e84da3
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 557848c3c03ad1d1e66cb3b5b06698e3a9ebc33c
refs/heads/master: e354597cce8d219d135d65e585dc4f30323486b9
2 changes: 1 addition & 1 deletion trunk/drivers/pci/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ static inline enum pci_bar_type decode_bar(struct resource *res, u32 bar)

res->flags = bar & ~PCI_BASE_ADDRESS_MEM_MASK;

if (res->flags == PCI_BASE_ADDRESS_MEM_TYPE_64)
if (res->flags & PCI_BASE_ADDRESS_MEM_TYPE_64)
return pci_bar_mem64;
return pci_bar_mem32;
}
Expand Down

0 comments on commit 3e84da3

Please sign in to comment.