diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-05-07 23:49:01 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-05-08 16:41:40 -0700 |
commit | 6c108f1299754877bb5f73ccac5621eb603b97eb (patch) | |
tree | 6f4e2f0d2dfdb143780106c3c6942f5e3946c509 /arch/sparc64/kernel/pci_fire.c | |
parent | e9870c4c0aef94580e28be11a1c6246dcabbe528 (diff) | |
download | linux-6c108f1299754877bb5f73ccac5621eb603b97eb.tar.gz linux-6c108f1299754877bb5f73ccac5621eb603b97eb.tar.bz2 linux-6c108f1299754877bb5f73ccac5621eb603b97eb.zip |
[SPARC64]: Move index info pci_pbm_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_fire.c')
-rw-r--r-- | arch/sparc64/kernel/pci_fire.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_fire.c b/arch/sparc64/kernel/pci_fire.c index ac40529a5721..5df31300b4d9 100644 --- a/arch/sparc64/kernel/pci_fire.c +++ b/arch/sparc64/kernel/pci_fire.c @@ -317,6 +317,8 @@ static void pci_fire_pbm_init(struct pci_controller_info *p, pbm->scan_bus = pci_fire_scan_bus; pbm->pci_ops = &pci_fire_ops; + pbm->index = pci_num_pbms++; + pbm->portid = portid; pbm->parent = p; pbm->prom_node = dp; @@ -373,8 +375,6 @@ void fire_pci_init(struct device_node *dp, const char *model_name) p->pbm_B.iommu = iommu; - p->index = pci_num_controllers++; - /* XXX MSI support XXX */ /* Like PSYCHO and SCHIZO we have a 2GB aligned area |