diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_schizo.c')
-rw-r--r-- | arch/sparc64/kernel/pci_schizo.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c index 91a7385e5d32..c0a6a3866e2f 100644 --- a/arch/sparc64/kernel/pci_schizo.c +++ b/arch/sparc64/kernel/pci_schizo.c | |||
@@ -1491,10 +1491,8 @@ static void schizo_pbm_init(struct pci_controller_info *p, | |||
1491 | int chip_type) | 1491 | int chip_type) |
1492 | { | 1492 | { |
1493 | const struct linux_prom64_registers *regs; | 1493 | const struct linux_prom64_registers *regs; |
1494 | const unsigned int *busrange; | ||
1495 | struct pci_pbm_info *pbm; | 1494 | struct pci_pbm_info *pbm; |
1496 | const char *chipset_name; | 1495 | const char *chipset_name; |
1497 | const u32 *ino_bitmap; | ||
1498 | int is_pbm_a; | 1496 | int is_pbm_a; |
1499 | 1497 | ||
1500 | switch (chip_type) { | 1498 | switch (chip_type) { |
@@ -1555,13 +1553,7 @@ static void schizo_pbm_init(struct pci_controller_info *p, | |||
1555 | 1553 | ||
1556 | pci_determine_mem_io_space(pbm); | 1554 | pci_determine_mem_io_space(pbm); |
1557 | 1555 | ||
1558 | ino_bitmap = of_get_property(dp, "ino-bitmap", NULL); | 1556 | pci_get_pbm_props(pbm); |
1559 | pbm->ino_bitmap = (((u64)ino_bitmap[1] << 32UL) | | ||
1560 | ((u64)ino_bitmap[0] << 0UL)); | ||
1561 | |||
1562 | busrange = of_get_property(dp, "bus-range", NULL); | ||
1563 | pbm->pci_first_busno = busrange[0]; | ||
1564 | pbm->pci_last_busno = busrange[1]; | ||
1565 | 1557 | ||
1566 | schizo_pbm_iommu_init(pbm); | 1558 | schizo_pbm_iommu_init(pbm); |
1567 | schizo_pbm_strbuf_init(pbm); | 1559 | schizo_pbm_strbuf_init(pbm); |