Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11613
b: refs/heads/master
c: 399fe2b
h: refs/heads/master
i:
  11611: 892f72f
v: v3
  • Loading branch information
Paul Mackerras committed Oct 20, 2005
1 parent ae55d37 commit edb099f
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff065ddd96c233d27322de493fa023357939c888
refs/heads/master: 399fe2bdd315c3a678b59b72659c4ed1ce0e1a24
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/platforms/powermac/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable)
static int __init
setup_uninorth(struct pci_controller* hose, struct reg_property* addr)
{
pci_assign_all_busses = 1;
pci_assign_all_buses = 1;
has_uninorth = 1;
hose->ops = &macrisc_pci_ops;
hose->cfg_addr = ioremap(addr->address + 0x800000, 0x1000);
Expand Down Expand Up @@ -640,7 +640,7 @@ static void __init setup_u3_agp(struct pci_controller* hose)
{
/* On G5, we move AGP up to high bus number so we don't need
* to reassign bus numbers for HT. If we ever have P2P bridges
* on AGP, we'll have to move pci_assign_all_busses to the
* on AGP, we'll have to move pci_assign_all_buses to the
* pci_controller structure so we enable it for AGP and not for
* HT childs.
* We hard code the address because of the different size of
Expand Down Expand Up @@ -1007,7 +1007,7 @@ void __init pmac_find_bridges(void)
* some offset between bus number and domains for now when we
* assign all busses should help for now
*/
if (pci_assign_all_busses)
if (pci_assign_all_buses)
pcibios_assign_bus_offset = 0x10;

}
Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/ppc/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static u8* pci_to_OF_bus_map;
/* By default, we don't re-assign bus numbers. We do this only on
* some pmacs
*/
int pci_assign_all_busses;
int pci_assign_all_buses;

struct pci_controller* hose_head;
struct pci_controller** hose_tail = &hose_head;
Expand Down Expand Up @@ -827,7 +827,7 @@ EXPORT_SYMBOL(pci_device_to_OF_node);
* PCI bus numbers have not yet been assigned, and you need to
* issue PCI config cycles to an OF device.
* It could also be used to "fix" RTAS config cycles if you want
* to set pci_assign_all_busses to 1 and still use RTAS for PCI
* to set pci_assign_all_buses to 1 and still use RTAS for PCI
* config cycles.
*/
struct pci_controller*
Expand Down Expand Up @@ -1270,12 +1270,12 @@ pcibios_init(void)

/* Scan all of the recorded PCI controllers. */
for (next_busno = 0, hose = hose_head; hose; hose = hose->next) {
if (pci_assign_all_busses)
if (pci_assign_all_buses)
hose->first_busno = next_busno;
hose->last_busno = 0xff;
bus = pci_scan_bus(hose->first_busno, hose->ops, hose);
hose->last_busno = bus->subordinate;
if (pci_assign_all_busses || next_busno <= hose->last_busno)
if (pci_assign_all_buses || next_busno <= hose->last_busno)
next_busno = hose->last_busno + pcibios_assign_bus_offset;
}
pci_bus_count = next_busno;
Expand All @@ -1284,7 +1284,7 @@ pcibios_init(void)
* numbers vs. kernel bus numbers since we may have to
* remap them.
*/
if (pci_assign_all_busses && have_of)
if (pci_assign_all_buses && have_of)
pcibios_make_OF_bus_map();

/* Do machine dependent PCI interrupt routing */
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/platforms/chrp_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static void __init setup_peg2(struct pci_controller *hose, struct device_node *d
printk ("RTAS supporting Pegasos OF not found, please upgrade"
" your firmware\n");
}
pci_assign_all_busses = 1;
pci_assign_all_buses = 1;
}

void __init
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/ppc/platforms/pmac_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ pmac_find_bridges(void)
* some offset between bus number and domains for now when we
* assign all busses should help for now
*/
if (pci_assign_all_busses)
if (pci_assign_all_buses)
pcibios_assign_bus_offset = 0x10;

#ifdef CONFIG_POWER4
Expand Down Expand Up @@ -643,7 +643,7 @@ static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable)
static int __init
setup_uninorth(struct pci_controller* hose, struct reg_property* addr)
{
pci_assign_all_busses = 1;
pci_assign_all_buses = 1;
has_uninorth = 1;
hose->ops = &macrisc_pci_ops;
hose->cfg_addr = ioremap(addr->address + 0x800000, 0x1000);
Expand Down Expand Up @@ -677,7 +677,7 @@ setup_u3_agp(struct pci_controller* hose, struct reg_property* addr)
{
/* On G5, we move AGP up to high bus number so we don't need
* to reassign bus numbers for HT. If we ever have P2P bridges
* on AGP, we'll have to move pci_assign_all_busses to the
* on AGP, we'll have to move pci_assign_all_buses to the
* pci_controller structure so we enable it for AGP and not for
* HT childs.
* We hard code the address because of the different size of
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/syslib/m82xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ pq2ads_setup_pci(struct pci_controller *hose)

void __init pq2_find_bridges(void)
{
extern int pci_assign_all_busses;
extern int pci_assign_all_buses;
struct pci_controller * hose;
int host_bridge;

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/syslib/mpc52xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ mpc52xx_find_bridges(void)
struct mpc52xx_pci __iomem *pci_regs;
struct pci_controller *hose;

pci_assign_all_busses = 1;
pci_assign_all_buses = 1;

pci_regs = ioremap(MPC52xx_PA(MPC52xx_PCI_OFFSET), MPC52xx_PCI_SIZE);
if (!pci_regs)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/kernel/maple_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static void __init setup_u3_agp(struct pci_controller* hose)
{
/* On G5, we move AGP up to high bus number so we don't need
* to reassign bus numbers for HT. If we ever have P2P bridges
* on AGP, we'll have to move pci_assign_all_busses to the
* on AGP, we'll have to move pci_assign_all_buses to the
* pci_controller structure so we enable it for AGP and not for
* HT childs.
* We hard code the address because of the different size of
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc64/kernel/pmac_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ static void __init setup_u3_agp(struct pci_controller* hose)
{
/* On G5, we move AGP up to high bus number so we don't need
* to reassign bus numbers for HT. If we ever have P2P bridges
* on AGP, we'll have to move pci_assign_all_busses to the
* on AGP, we'll have to move pci_assign_all_buses to the
* pci_controller structure so we enable it for AGP and not for
* HT childs.
* We hard code the address because of the different size of
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-ppc/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ struct pci_dev;
* Set this to 1 if you want the kernel to re-assign all PCI
* bus numbers
*/
extern int pci_assign_all_busses;
extern int pci_assign_all_buses;

#define pcibios_assign_all_busses() (pci_assign_all_busses)
#define pcibios_assign_all_busses() (pci_assign_all_buses)
#define pcibios_scan_all_fns(a, b) 0

#define PCIBIOS_MIN_IO 0x1000
Expand Down

0 comments on commit edb099f

Please sign in to comment.