lkml.org 
[lkml]   [2013]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)
From
On Wed, Feb 6, 2013 at 12:03 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> On Tuesday 05 February 2013, Michal Simek wrote:
>> I want to be sure about this. I have parsed this again with closer look and
>> seems to me that ioread32 is equal to readl and iowrite32 to writel.
>> Arnd: Am I right?
>
> Correct. On all the architectures you care about (most importantly, not
> x86), readl and ioread32 are defined to have the same semantics. There
> are a few exceptions where ioread32 provides a wrapper for PCI
> PIO accesses that are not memory mapped, making ioread32 slightly
> slower than readl, but for all practical purposes you don't have
> to worry about it ;-)

PCI PIO? Do you mean "PCI I/O space"?
That's different, and accessed through inb() and friends, right?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


\
 
 \ /
  Last update: 2013-02-06 10:44    [W:0.154 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site