Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71247
b: refs/heads/master
c: 4209ab0
h: refs/heads/master
i:
  71245: be0a13b
  71243: eb7fb41
  71239: fa3e9f3
  71231: 2c85cb6
v: v3
  • Loading branch information
David S. Miller committed Oct 17, 2007
1 parent 47c9f61 commit 3a0d0e5
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 719023fb90009855c4515a16349fc6d0a2f93a74
refs/heads/master: 4209ab098c61b1a9684bb4d3fc287352fc2438c3
7 changes: 7 additions & 0 deletions trunk/arch/sparc64/kernel/pci_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,13 @@ void pci_determine_mem_io_space(struct pci_pbm_info *pbm)

saw_mem = saw_io = 0;
pbm_ranges = of_get_property(pbm->prom_node, "ranges", &i);
if (!pbm_ranges) {
prom_printf("PCI: Fatal error, missing PBM ranges property "
" for %s\n",
pbm->name);
prom_halt();
}

num_pbm_ranges = i / sizeof(*pbm_ranges);

for (i = 0; i < num_pbm_ranges; i++) {
Expand Down

0 comments on commit 3a0d0e5

Please sign in to comment.