/* If fewer than three regions are requested, then the region list is terminated with a region of size 0.  */
void mpc83xx_pci_init(int num_buses, struct pci_region **reg)
/* If fewer than three regions are requested, then the region list is terminated with a region of size 0.  */
void mpc83xx_pci_init(int num_buses, struct pci_region **reg)
{
	volatile immap_t *immr = (volatile immap_t *)CONFIG_SYS_IMMR;
	int i;
	if (num_buses > MAX_BUSES) {
		printf("%d PCI buses requested, %d supported\n",
		       num_buses, MAX_BUSES);
		num_buses = MAX_BUSES;
	}
	pci_num_buses = num_buses;
	udelay(100000);
	for (i = 0; i < num_buses; i++)
		immr->pci_ctrl[i].gcr = 1;
	udelay(1020000);
	for (i = 0; i < num_buses; i++)
		pci_init_bus(i, reg[i]);
}