summaryrefslogtreecommitdiff
path: root/arch/sparc64/kernel/pci_sabre.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-10 14:15:56 +0400
committerDavid S. Miller <davem@davemloft.net>2008-09-11 10:11:57 +0400
commit1c03a55cdf309d0939e881b313abbe7e9a67d95e (patch)
treed965f7cbe122dec580656d609521716b3fdd71e7 /arch/sparc64/kernel/pci_sabre.c
parenta21cff3e5e39c087b5a4c5efb20f1744475c556e (diff)
downloadlinux-1c03a55cdf309d0939e881b313abbe7e9a67d95e.tar.xz
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.c19
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,
static void __init sabre_pbm_init(struct pci_pbm_info *pbm,
struct of_device *op)
{
- struct device_node *dp = op->node;
-
- pbm->name = dp->full_name;
- printk("%s: SABRE PCI Bus Module\n", pbm->name);
-
- pbm->numa_node = -1;
-
- pbm->pci_ops = &sun4u_pci_ops;
- pbm->config_space_reg_bits = 8;
-
- pbm->index = pci_num_pbms++;
-
- pbm->chip_type = PBM_CHIP_TYPE_SABRE;
- pbm->op = op;
- pci_get_pbm_props(pbm);
-
- pci_determine_mem_io_space(pbm);
-
+ psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE);
sabre_scan_bus(pbm, &op->dev);
}