commit | 03ac829b0046d5769eef3dd841cec33a211db96e | [log] [tgz] |
---|---|---|
author | Will Schmidt <will_schmidt@vnet.ibm.com> | Tue May 30 13:38:40 2006 -0500 |
committer | Paul Mackerras <paulus@samba.org> | Fri Jun 09 21:21:02 2006 +1000 |
tree | fbabaac94b4848f1906c49d7cbdbe9dbcd066372 | |
parent | c5cf0e30bf3d8cb56758abb612827647c0a821cf [diff] |
[PATCH] powerpc: fix of_parse_dma_window My js20 appears to lack the ibm,#dma- properties, and boot fails with a "Kernel panic - not syncing: iommu_init_table: Can't allocate 0 bytes" message. This adds a fallback to the "#address-cells" property in case the "#ibm,dma-address-cells" property is missing. Tested on js20 and power5 lpar. Unless there is a more elegant solution... :-) Signed-off-by: Will Schmidt <willschm@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>