lkml.org 
[lkml]   [2002]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: readsw/writesw readsl/writesl
From
   From: Andre Hedrick <andre@linux-ide.org>
Date: Mon, 26 Aug 2002 23:23:22 -0700 (PDT)

Would you consider these for each arch as there are coresponding one for
IOMIO, and life would be better if we had a standard set for MMIO.

Please consider the request.

I responded to the private email I got on this subject.
I forget who asked me this, but they said they were working
on this IDE stuff.

My response was that io_barrier() shall be defined on all
platforms in asm/io.h and that you can then define your
ide_read{l,w,b} as:

__raw_raw{l,w,b}(...);
io_barrier();

So instead of having a million read* variations, we have one that is
standard usage (little endian + I/O barrier) and then a raw variant
where the cpu does nothing special and you have to byte-twiddle and
barrier explicitly.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.073 / U:2.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site