diff options
author | David S. Miller <davem@davemloft.net> | 2008-09-10 14:15:56 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-11 10:11:57 +0400 |
commit | 1c03a55cdf309d0939e881b313abbe7e9a67d95e (patch) | |
tree | d965f7cbe122dec580656d609521716b3fdd71e7 /arch/sparc64/kernel/pci_sabre.c | |
parent | a21cff3e5e39c087b5a4c5efb20f1744475c556e (diff) | |
download | linux-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.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, 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); } |