Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178895
b: refs/heads/master
c: a557aae
h: refs/heads/master
i:
  178893: 4adf082
  178891: 5885141
  178887: 3d443df
  178879: f3f9c9a
v: v3
  • Loading branch information
Yinghai Lu authored and H. Peter Anvin committed Jan 4, 2010
1 parent f56593b commit c104389
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 9dad0fd5a73d4048dff18069733c0b515f68df74
refs/heads/master: a557aae29cf5916295c234d4b10ba3f8f29b8a96
4 changes: 4 additions & 0 deletions trunk/arch/x86/pci/intel_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ static void __devinit pci_root_bus_res(struct pci_dev *dev)
u64 mmioh_base, mmioh_end;
int bus_base, bus_end;

/* some sys doesn't get mmconf enabled */
if (dev->cfg_size < 0x120)
return;

if (pci_root_num >= PCI_ROOT_NR) {
printk(KERN_DEBUG "intel_bus.c: PCI_ROOT_NR is too small\n");
return;
Expand Down

0 comments on commit c104389

Please sign in to comment.