
27 May
2010
27 May
'10
11:28 p.m.
Kumar Gala wrote:
We can do something like:
for (hose = hose_head; hose; hose = hose->next) { off = fdt_node_offset_by_compatible(blob, -1, pci_compat); while (off != -FDT_ERR_NOTFOUND) { const int reg * = fdt_getprop(blob, off, "reg", NULL); match hose->cfg_addr against reg off = fdt_node_offset_by_compatible(blob, off, pci_compat); }
}
Ok, I'll start working on this after I'm done with the P1022DS.
--
Timur Tabi
Linux kernel developer at Freescale