Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81025
b: refs/heads/master
c: 6207e81
h: refs/heads/master
i:
  81023: 8ca99a4
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed Dec 11, 2007
1 parent aaed5a1 commit 4c56c2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 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: 9ccc4fd260397f0f8ac6078f4cd45fda2d320ead
refs/heads/master: 6207e81695c1a64ebed668f26106f3384ad2323a
9 changes: 2 additions & 7 deletions trunk/arch/powerpc/kernel/pci-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,10 @@ int pcibios_vaddr_is_ioport(void __iomem *address)
*/
int pci_domain_nr(struct pci_bus *bus)
{
if (firmware_has_feature(FW_FEATURE_ISERIES))
return 0;
else {
struct pci_controller *hose = pci_bus_to_host(bus);
struct pci_controller *hose = pci_bus_to_host(bus);

return hose->global_number;
}
return hose->global_number;
}

EXPORT_SYMBOL(pci_domain_nr);

#ifdef CONFIG_PPC_OF
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/platforms/iseries/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,8 @@ void __init iSeries_pcibios_init(void)
phb = pcibios_alloc_controller(node);
if (phb == NULL)
continue;
/* All legacy iSeries PHBs are in domain zero */
phb->global_number = 0;

phb->pci_mem_offset = bus;
phb->first_busno = bus;
Expand Down

0 comments on commit 4c56c2a

Please sign in to comment.