aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/setup.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-05-19 02:54:42 -0400
committerPaul Mackerras <paulus@samba.org>2006-05-24 02:08:57 -0400
commit095eed4f8d0be13a7934031434b6e9ceddb87ff6 (patch)
tree6ae36b38c3cb8ab78e8cc8e019ed226829304ad6 /arch/powerpc/platforms/iseries/setup.c
parentefbd386967aaa7fcf7ffbb13e4975df1cdf04cb8 (diff)
[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>
Diffstat (limited to 'arch/powerpc/platforms/iseries/setup.c')
-rw-r--r--arch/powerpc/platforms/iseries/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index d83f5ed4ec1f..0f49412b438e 100644
--- a/arch/powerpc/platforms/iseries/setup.c
+++ b/arch/powerpc/platforms/iseries/setup.c
@@ -1073,7 +1073,7 @@ static void scan_bridge_slot(struct iseries_flat_dt *dt, HvBusNumber bus,
1073 snprintf(buf, sizeof(buf), "pci@%x,%d", 1073 snprintf(buf, sizeof(buf), "pci@%x,%d",
1074 PCI_SLOT(devfn), function); 1074 PCI_SLOT(devfn), function);
1075 dt_start_node(dt, buf); 1075 dt_start_node(dt, buf);
1076 reg[0] = (bus << 18) | (devfn << 8); 1076 reg[0] = (bus << 16) | (devfn << 8);
1077 reg[1] = 0; 1077 reg[1] = 0;
1078 reg[2] = 0; 1078 reg[2] = 0;
1079 reg[3] = 0; 1079 reg[3] = 0;