On Tuesday 23 July 2013 12:30 PM, Kishon Vijay Abraham I wrote: > >> . > >> . > >>>>> + of_pci_range_to_resource(&range, np, &pp->cfg); > >>>>> + pp->config.cfg0_size = resource_size(&pp->cfg)/2; > >>>>> + pp->config.cfg1_size = resource_size(&pp->cfg)/2; > >>>>> + } > >>>>> + } > >>>>> + > >>>>> + pp->dbi_base = devm_ioremap(pp->dev, pp->cfg.start, > >>>>> + resource_size(&pp->cfg)); > >>>> > >>>> Why is configuraion space divided into two? > >>> > >>> Sorry, I don't know the exact reason. :( > >>> Pratyush Anand may know about this. > >>> Pratyush Anand, could you answer the question? > >>> > >>> Also, if you find some problems, please let me know. > > One more query.. > > Where is inbound translation configuration done in your driver? how should it > be done? Hi Kishon, Sorry, I cannot understand your question exactly. However, the following thread would be helpful. http://www.spinics.net/lists/arm-kernel/msg252078.html https://lkml.org/lkml/2013/6/17/890 Best regards. Jingoo Han -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html