Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149599
b: refs/heads/master
c: 89d9334
h: refs/heads/master
i:
  149597: 4231eca
  149595: 498547e
  149591: 842bc5c
  149583: 409d69b
  149567: 6309868
v: v3
  • Loading branch information
Becky Bruce authored and Kumar Gala committed May 19, 2009
1 parent 0341999 commit 25e0f40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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: da385780489db4f55dad96609511a9a6d1b041cb
refs/heads/master: 89d93347d1f66832c43e6b25a669fddff89929b5
6 changes: 4 additions & 2 deletions trunk/arch/powerpc/include/asm/pci-bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,12 @@ struct pci_controller {
struct resource io_resource;
struct resource mem_resources[3];
int global_number; /* PCI domain number */

resource_size_t dma_window_base_cur;
resource_size_t dma_window_size;

#ifdef CONFIG_PPC64
unsigned long buid;
unsigned long dma_window_base_cur;
unsigned long dma_window_size;

void *private_data;
#endif /* CONFIG_PPC64 */
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/sysdev/fsl_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ static void __init setup_pci_atmu(struct pci_controller *hose,
out_be32(&pci->piw[2].piwbar,0x00000000);
out_be32(&pci->piw[2].piwar, PIWAR_2G);

/* Save the base address and size covered by inbound window mappings */
hose->dma_window_base_cur = 0x00000000;
hose->dma_window_size = 0x80000000;

iounmap(pci);
}

Expand Down

0 comments on commit 25e0f40

Please sign in to comment.