[PATCH] powerpc: clean up iSeries PCI probe
Only scan the host bridges and then use the existing pci_devs_phb_init() routine. Also fix typo in setup of reg property. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
efbd386967
commit
095eed4f8d
@@ -1073,7 +1073,7 @@ static void scan_bridge_slot(struct iseries_flat_dt *dt, HvBusNumber bus,
|
||||
snprintf(buf, sizeof(buf), "pci@%x,%d",
|
||||
PCI_SLOT(devfn), function);
|
||||
dt_start_node(dt, buf);
|
||||
reg[0] = (bus << 18) | (devfn << 8);
|
||||
reg[0] = (bus << 16) | (devfn << 8);
|
||||
reg[1] = 0;
|
||||
reg[2] = 0;
|
||||
reg[3] = 0;
|
||||
|
Reference in New Issue
Block a user