for (i = 0; i < PCI_BUSES_TO_SCAN; i++) sn_pci_controller_fixup(0, i, NULL); 
for (i = 0; i <= max_segment_number; i++) for (j = 0; j <= max_pcibus_number; j++) sn_pci_controller_fixup(i, j, NULL); 
static int __init sn_pci_init(void){	int i = 0;	struct pci_dev *pci_dev = NULL;	extern void sn_init_cpei_timer(void);#ifdef CONFIG_PROC_FS	extern void register_sn_procfs(void);#endif	if (!ia64_platform_is("sn2") || IS_RUNNING_ON_FAKE_PROM())		return 0;	/*	 * prime sn_pci_provider[].  Individial provider init routines will	 * override their respective default entries.	 */	for (i = 0; i < PCIIO_ASIC_MAX_TYPES; i++)		sn_pci_provider[i] = &sn_pci_default_provider;	pcibr_init_provider();	tioca_init_provider();	/*	 * This is needed to avoid bounce limit checks in the blk layer	 */	ia64_max_iommu_merge_mask = ~PAGE_MASK;	sn_fixup_ionodes();	sn_irq_lh_init();	INIT_LIST_HEAD(&sn_sysdata_list);	sn_init_cpei_timer();#ifdef CONFIG_PROC_FS	register_sn_procfs();#endif	/* busses are not known yet ... */	for (i = 0; i < PCI_BUSES_TO_SCAN; i++)		sn_pci_controller_fixup(0, i, NULL);	/*	 * Generic Linux PCI Layer has created the pci_bus and pci_dev 	 * structures - time for us to add our SN PLatform specific 	 * information.	 */	while ((pci_dev =		pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pci_dev)) != NULL)		sn_pci_fixup_slot(pci_dev);	sn_ioif_inited = 1;	/* sn I/O infrastructure now initialized */	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/674c6479b7bdc78528ea83dd43897e3161558b8b/io_init.c/buggy/arch/ia64/sn/kernel/io_init.c