diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-10 06:15:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-11 02:11:57 -0400 |
commit | 1c03a55cdf309d0939e881b313abbe7e9a67d95e (patch) | |
tree | d965f7cbe122dec580656d609521716b3fdd71e7 /arch/sparc64/kernel/pci_sabre.c | |
parent | a21cff3e5e39c087b5a4c5efb20f1744475c556e (diff) |
sparc64: Create and use psycho_pbm_init_common().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_sabre.c')
-rw-r--r-- | arch/sparc64/kernel/pci_sabre.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/sparc64/kernel/pci_sabre.c b/arch/sparc64/kernel/pci_sabre.c index a3a276de75ab..ae11d67388e1 100644 --- a/arch/sparc64/kernel/pci_sabre.c +++ b/arch/sparc64/kernel/pci_sabre.c | |||
@@ -678,24 +678,7 @@ static void __init sabre_scan_bus(struct pci_pbm_info *pbm, | |||
678 | static void __init sabre_pbm_init(struct pci_pbm_info *pbm, | 678 | static void __init sabre_pbm_init(struct pci_pbm_info *pbm, |
679 | struct of_device *op) | 679 | struct of_device *op) |
680 | { | 680 | { |
681 | struct device_node *dp = op->node; | 681 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); |
682 | |||
683 | pbm->name = dp->full_name; | ||
684 | printk("%s: SABRE PCI Bus Module\n", pbm->name); | ||
685 | |||
686 | pbm->numa_node = -1; | ||
687 | |||
688 | pbm->pci_ops = &sun4u_pci_ops; | ||
689 | pbm->config_space_reg_bits = 8; | ||
690 | |||
691 | pbm->index = pci_num_pbms++; | ||
692 | |||
693 | pbm->chip_type = PBM_CHIP_TYPE_SABRE; | ||
694 | pbm->op = op; | ||
695 | pci_get_pbm_props(pbm); | ||
696 | |||
697 | pci_determine_mem_io_space(pbm); | ||
698 | |||
699 | sabre_scan_bus(pbm, &op->dev); | 682 | sabre_scan_bus(pbm, &op->dev); |
700 | } | 683 | } |
701 | 684 | ||