Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28733
b: refs/heads/master
c: 03ac829
h: refs/heads/master
i:
  28731: fbf6955
v: v3
  • Loading branch information
Will Schmidt authored and Paul Mackerras committed Jun 9, 2006
1 parent 3f1a149 commit 1d6814a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5cf0e30bf3d8cb56758abb612827647c0a821cf
refs/heads/master: 03ac829b0046d5769eef3dd841cec33a211db96e
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/kernel/prom_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,9 @@ void of_parse_dma_window(struct device_node *dn, unsigned char *dma_window_prop,
*busno = *(dma_window++);

prop = get_property(dn, "ibm,#dma-address-cells", NULL);
if (!prop)
prop = get_property(dn, "#address-cells", NULL);

cells = prop ? *(u32 *)prop : prom_n_addr_cells(dn);
*phys = of_read_addr(dma_window, cells);

Expand Down

0 comments on commit 1d6814a

Please sign in to comment.