aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_psycho.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci_psycho.c')
-rw-r--r--arch/sparc64/kernel/pci_psycho.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c
index 7b7010a1eb2f..1717df549488 100644
--- a/arch/sparc64/kernel/pci_psycho.c
+++ b/arch/sparc64/kernel/pci_psycho.c
@@ -1136,7 +1136,6 @@ static void psycho_pbm_init(struct pci_controller_info *p,
1136 unsigned int *busrange; 1136 unsigned int *busrange;
1137 struct property *prop; 1137 struct property *prop;
1138 struct pci_pbm_info *pbm; 1138 struct pci_pbm_info *pbm;
1139 int len;
1140 1139
1141 if (is_pbm_a) { 1140 if (is_pbm_a) {
1142 pbm = &p->pbm_A; 1141 pbm = &p->pbm_A;
@@ -1166,15 +1165,6 @@ static void psycho_pbm_init(struct pci_controller_info *p,
1166 pbm->name, 1165 pbm->name,
1167 pbm->chip_version, pbm->chip_revision); 1166 pbm->chip_version, pbm->chip_revision);
1168 1167
1169 prop = of_find_property(dp, "ranges", &len);
1170 if (prop) {
1171 pbm->pbm_ranges = prop->value;
1172 pbm->num_pbm_ranges =
1173 (len / sizeof(struct linux_prom_pci_ranges));
1174 } else {
1175 pbm->num_pbm_ranges = 0;
1176 }
1177
1178 prop = of_find_property(dp, "bus-range", NULL); 1168 prop = of_find_property(dp, "bus-range", NULL);
1179 busrange = prop->value; 1169 busrange = prop->value;
1180 pbm->pci_first_busno = busrange[0]; 1170 pbm->pci_first_busno = busrange[0];