Re: iwl + iomap + readl/writel

From: Tomas Winkler
Date: Tue Aug 12 2008 - 18:04:49 EST


On Wed, Aug 13, 2008 at 12:58 AM, Jiri Slaby <jirislaby@xxxxxxxxx> wrote:
> On 08/12/2008 11:57 PM, Tomas Winkler wrote:
>>
>> On Wed, Aug 13, 2008 at 12:54 AM, Jiri Slaby <jirislaby@xxxxxxxxx> wrote:
>>>
>>> On 08/12/2008 11:49 PM, Tomas Winkler wrote:
>>>>
>>>> On Tue, Aug 12, 2008 at 11:48 PM, Jiri Slaby <jirislaby@xxxxxxxxx>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I spotted that iwl drivers use readl method on an iomap space. IIRC
>>>>> some
>>>>> archs might return a tag instead of an address expected by
>>>>> readl/writel.
>>>>>
>>>>> I think you should either switch to ioread32/iowrite32 or to ioremap.
>>>>
>>>> Can you give me reading material on this?
>>>
>>> No, google will (you can even feel lucky).
>>
>> I didn't ask for obvious answers :)
>
> Sorry, I don't remember where/when this was discussed, you have to search
> for it.

It's okay I'm already digging into it
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/