Skip to content

Commit

Permalink
[POWERPC] celleb: Fix support for multiple PCI domains
Browse files Browse the repository at this point in the history
Celleb has multiple PCI host bridges (phbs).  Previous boot logic gives
non-overlapped bus IDs between PCI host bridges so you can identify
PHB by bus ID.  But newer boot logic gives same bus ID between PHBs (it
gives bus ID 0 as root bus.) So we have to set 'phb->buid' as
non-zero.

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Ishizaki Kou authored and Paul Mackerras committed May 10, 2007
1 parent ab5570f commit d1af5b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/celleb/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ int __devinit celleb_setup_phb(struct pci_controller *phb)

pr_debug("PCI: celleb_setup_phb() %s\n", name);
phb_set_bus_ranges(dev, phb);
phb->buid = 1;

if (strcmp(name, "epci") == 0) {
phb->ops = &celleb_epci_ops;
Expand Down

0 comments on commit d1af5b4

Please sign in to comment.