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/
This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:19 EST