Subject: Re: bus.h style question
To: Chris G. Demetriou <>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: tech-kern
Date: 08/18/1997 00:56:16
On Mon, 18 Aug 97 00:44:49 -0700
  "Chris G. Demetriou" <> writes:

>If you're trying to read or write a string of characters, you should
>either do thatf with _1 macros (which are supposed to do the 'right'
>thing with the data), or be prepared to byte swap them yourself if the
>bus the device you're talking to is attached to is a different
>endianness than the CPU.

No, I don't think you should.  

The bus_space interface should provide methods for accessing such
streams efficiently, without requiring any explicit driver
byteswapping of `bytestream' data like disk blocks or Ethernet
packets.  I think the reasons for that are obvious.