pci_64.c (6288cf1e768ae73db5ddaaae54d85245cc1c2b56) | pci_64.c (0e47ff1ce65bbd0b12a9421a2756b26987ea5083) |
---|---|
1/* 2 * Port for PPC64 David Engebretsen, IBM Corp. 3 * Contains common pci routines for ppc64 platform, pSeries and iSeries brands. 4 * 5 * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM 6 * Rework, based on alpha PCI code. 7 * 8 * This program is free software; you can redistribute it and/or --- 41 unchanged lines hidden (view full) --- 50 printk(KERN_INFO "PCI: Probing PCI hardware\n"); 51 52 /* For now, override phys_mem_access_prot. If we need it,g 53 * later, we may move that initialization to each ppc_md 54 */ 55 ppc_md.phys_mem_access_prot = pci_phys_mem_access_prot; 56 57 if (pci_probe_only) | 1/* 2 * Port for PPC64 David Engebretsen, IBM Corp. 3 * Contains common pci routines for ppc64 platform, pSeries and iSeries brands. 4 * 5 * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM 6 * Rework, based on alpha PCI code. 7 * 8 * This program is free software; you can redistribute it and/or --- 41 unchanged lines hidden (view full) --- 50 printk(KERN_INFO "PCI: Probing PCI hardware\n"); 51 52 /* For now, override phys_mem_access_prot. If we need it,g 53 * later, we may move that initialization to each ppc_md 54 */ 55 ppc_md.phys_mem_access_prot = pci_phys_mem_access_prot; 56 57 if (pci_probe_only) |
58 ppc_pci_flags |= PPC_PCI_PROBE_ONLY; | 58 pci_add_flags(PCI_PROBE_ONLY); |
59 60 /* On ppc64, we always enable PCI domains and we keep domain 0 61 * backward compatible in /proc for video cards 62 */ | 59 60 /* On ppc64, we always enable PCI domains and we keep domain 0 61 * backward compatible in /proc for video cards 62 */ |
63 ppc_pci_flags |= PPC_PCI_ENABLE_PROC_DOMAINS | PPC_PCI_COMPAT_DOMAIN_0; | 63 pci_add_flags(PCI_ENABLE_PROC_DOMAINS | PCI_COMPAT_DOMAIN_0); |
64 65 /* Scan all of the recorded PCI controllers. */ 66 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { 67 pcibios_scan_phb(hose); 68 pci_bus_add_devices(hose->bus); 69 } 70 71 /* Call common code to handle resource allocation */ --- 203 unchanged lines hidden --- | 64 65 /* Scan all of the recorded PCI controllers. */ 66 list_for_each_entry_safe(hose, tmp, &hose_list, list_node) { 67 pcibios_scan_phb(hose); 68 pci_bus_add_devices(hose->bus); 69 } 70 71 /* Call common code to handle resource allocation */ --- 203 unchanged lines hidden --- |