diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 02:49:01 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 19:41:40 -0400 |
commit | 6c108f1299754877bb5f73ccac5621eb603b97eb (patch) | |
tree | 6f4e2f0d2dfdb143780106c3c6942f5e3946c509 /arch/sparc64/kernel/pci_sun4v.c | |
parent | e9870c4c0aef94580e28be11a1c6246dcabbe528 (diff) |
[SPARC64]: Move index info pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c index 7ebc04f9a880..ce46b0471693 100644 --- a/arch/sparc64/kernel/pci_sun4v.c +++ b/arch/sparc64/kernel/pci_sun4v.c | |||
@@ -1241,6 +1241,8 @@ static void pci_sun4v_pbm_init(struct pci_controller_info *p, struct device_node | |||
1241 | pbm->scan_bus = pci_sun4v_scan_bus; | 1241 | pbm->scan_bus = pci_sun4v_scan_bus; |
1242 | pbm->pci_ops = &pci_sun4v_ops; | 1242 | pbm->pci_ops = &pci_sun4v_ops; |
1243 | 1243 | ||
1244 | pbm->index = pci_num_pbms++; | ||
1245 | |||
1244 | pbm->parent = p; | 1246 | pbm->parent = p; |
1245 | pbm->prom_node = dp; | 1247 | pbm->prom_node = dp; |
1246 | 1248 | ||
@@ -1304,8 +1306,6 @@ void sun4v_pci_init(struct device_node *dp, char *model_name) | |||
1304 | 1306 | ||
1305 | p->pbm_B.iommu = iommu; | 1307 | p->pbm_B.iommu = iommu; |
1306 | 1308 | ||
1307 | p->index = pci_num_controllers++; | ||
1308 | |||
1309 | /* Like PSYCHO and SCHIZO we have a 2GB aligned area | 1309 | /* Like PSYCHO and SCHIZO we have a 2GB aligned area |
1310 | * for memory space. | 1310 | * for memory space. |
1311 | */ | 1311 | */ |