Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55852
b: refs/heads/master
c: 0f6e74a
h: refs/heads/master
v: v3
  • Loading branch information
Ishizaki Kou authored and Paul Mackerras committed May 10, 2007
1 parent 3b297de commit 4fcd0ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d1af5b4ea970d8cccdacf243ae42899f3784ad85
refs/heads/master: 0f6e74a3e0c5e805d5f67f7631259c886158a47b
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/platforms/celleb/scc_epci.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ static int celleb_epci_check_abort(struct pci_controller *hose,
}

static volatile void __iomem *celleb_epci_make_config_addr(
struct pci_bus *bus,
struct pci_controller *hose,
unsigned int devfn, int where)
{
volatile void __iomem *addr;
struct pci_bus *bus = hose->bus;

if (bus->self)
if (bus != hose->bus)
addr = celleb_epci_get_epci_cfg(hose) +
(((bus->number & 0xff) << 16)
| ((devfn & 0xff) << 8)
Expand Down Expand Up @@ -193,7 +193,7 @@ static int celleb_epci_read_config(struct pci_bus *bus,
} else {

clear_and_disable_master_abort_interrupt(hose);
addr = celleb_epci_make_config_addr(hose, devfn, where);
addr = celleb_epci_make_config_addr(bus, hose, devfn, where);

switch (size) {
case 1:
Expand Down Expand Up @@ -257,7 +257,7 @@ static int celleb_epci_write_config(struct pci_bus *bus,
} else {

clear_and_disable_master_abort_interrupt(hose);
addr = celleb_epci_make_config_addr(hose, devfn, where);
addr = celleb_epci_make_config_addr(bus, hose, devfn, where);

switch (size) {
case 1:
Expand Down

0 comments on commit 4fcd0ae

Please sign in to comment.