2 * arch/powerpc/kernel/mpc10x_common.c
4 * Common routines for the Motorola SPS MPC106, MPC107 and MPC8240 Host bridge,
7 * Author: Mark A. Greer
10 * Copyright 2001 MontaVista Software Inc.
12 * SPDX-License-Identifier: GPL-2.0+
19 #include <asm/processor.h>
24 void pci_mpc824x_init (struct pci_controller *hose)
26 hose->first_busno = 0;
27 hose->last_busno = 0xff;
29 /* System memory space */
30 pci_set_region(hose->regions + 0,
34 PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
36 /* PCI memory space */
37 pci_set_region(hose->regions + 1,
43 /* ISA/PCI memory space */
44 pci_set_region(hose->regions + 2,
51 pci_set_region(hose->regions + 3,
57 /* ISA/PCI I/O space */
58 pci_set_region(hose->regions + 4,
64 hose->region_count = 5;
66 pci_setup_indirect(hose,
70 pci_register_hose(hose);
72 hose->last_busno = pci_hose_scan(hose);