doesn't ioremap() retrun contigious addressess...?
sandeep kumar
coolsandyforyou at gmail.com
Thu Feb 28 08:23:14 EST 2013
Thank you all, It worked :)
On Thu, Feb 28, 2013 at 5:33 PM, Prabhu nath <gprabhunath at gmail.com> wrote:
> Yep.
>
>
>
>
> On Thu, Feb 28, 2013 at 5:10 PM, Yann Droneaud <ydroneaud at opteya.com>wrote:
>
>> Le jeudi 28 février 2013 à 16:25 +0530, sandeep kumar a écrit :
>> > Sorry, Neglect the question.
>> > i am using a readl() which reads 4 bytes at a time. In the last
>> > iteration, it is trying to read next 4 unmapped locations.
>> >
>>
>> So you probably have to do this instead:
>>
>> for(i=0;i<(SZ_16KB-1)/4;i++)
>> src = readl(tcpm_base+(i * 4));
>>
>> Regards
>>
>> --
>> Yann Droneaud
>> OPTEYA
>>
>>
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
--
With regards,
Sandeep Kumar Anantapalli,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130228/511ec590/attachment.html
More information about the Kernelnewbies
mailing list