Thread (1 message) 1 message, 1 author, 2000-02-18

Re: insw/outsw/insl/outsl (was: Re: your mail)

From: Benjamin Herrenschmidt <hidden>
Date: 2000-02-18 13:48:57

On Fri, Feb 18, 2000, Patrick Lerda [off-list ref] wrote:
In my opinion we need new functions for quick byte copy, with new names.
The names insw/outsw/insl/outsl are to close to inw, outw, insw...;
these functions work with the PCI bus, and data need a conversion to
little-endian,
before read and write operation.

We need new functions and fix the kernel.
I'm not sure we need new functions at all.

Do you know a single case where swapping would actually be required with
insw/outsw/insl/outsl ?

All cases I encountered so far (IDE, sound, ethernet), those are used to
transfer stream of bytes between device and memory. In this case, the
access width is irrelevant and no swapping must be done.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help