Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60613
b: refs/heads/master
c: 2a5ccbc
h: refs/heads/master
i:
  60611: 08a6663
v: v3
  • Loading branch information
Kumar Gala committed Jun 29, 2007
1 parent 215be28 commit 3418a28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: 5229ee185287f4fd0d7809e6554b40ec83a4ba6c
refs/heads/master: 2a5ccbc5bb471c10b58ea85ac463e70faead1c8a
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/82xx/mpc82xx_ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ static void __init mpc82xx_add_bridge(struct device_node *np)

hose->first_busno = bus_range ? bus_range[0] : 0;
hose->last_busno = bus_range ? bus_range[1] : 0xff;
hose->bus_offset = 0;

setup_indirect_pci(hose,
r.start + offsetof(pci_cpm2_t, pci_cfg_addr),
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/powerpc/sysdev/fsl_pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ indirect_read_config_pcie(struct pci_bus *bus, unsigned int devfn, int offset,
if (bus->number == 0xff) {
PCI_CFG_OUT(hose->cfg_addr,
(0x80000000 | ((offset & 0xf00) << 16) |
((bus->number - hose->bus_offset) << 16)
(bus->number<< 16)
| (devfn << 8) | ((offset & 0xfc) )));
} else {
PCI_CFG_OUT(hose->cfg_addr,
(0x80000001 | ((offset & 0xf00) << 16) |
((bus->number - hose->bus_offset) << 16)
(bus->number<< 16)
| (devfn << 8) | ((offset & 0xfc) )));
}

Expand Down Expand Up @@ -101,12 +101,12 @@ indirect_write_config_pcie(struct pci_bus *bus, unsigned int devfn, int offset,
if (bus->number == 0xff) {
PCI_CFG_OUT(hose->cfg_addr,
(0x80000000 | ((offset & 0xf00) << 16) |
((bus->number - hose->bus_offset) << 16)
(bus->number << 16)
| (devfn << 8) | ((offset & 0xfc) )));
} else {
PCI_CFG_OUT(hose->cfg_addr,
(0x80000001 | ((offset & 0xf00) << 16) |
((bus->number - hose->bus_offset) << 16)
(bus->number << 16)
| (devfn << 8) | ((offset & 0xfc) )));
}

Expand Down

0 comments on commit 3418a28

Please sign in to comment.