RE: insw(), insl(), outsw(), outsl() behaviour on big-endian proc esso

Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Tue, 8 Jun 1999 11:05:27 +0200 (CEST)


On Tue, 8 Jun 1999, Patrick Lerda wrote:

> and, is there a
> linux specification to explain how to make a driver
> working in little-endian and big endian environment properly.

I don't know, but look at drivers/scsi/sym53c8xx.c and search for
"ENDIAN" there.

This might help. But I also suggest having some Versions of
inXX/outXX _without_ such conversion to get faster access for
devices/buses which support endianess conversion itself.

Regards

Ingo Oeser

-- 
Feel the power of the penguin - run linux@your.pc
<esc>:x

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/