On Fri, May 14, 2010 at 08:51:46PM +0900, Izumi Tsutsui wrote: > > A transfer of little-endian data? I guess that's not entirely clear, > > especially for anyone who doesn't automatically interpret "DMA" as "a > > form of memcpy". > > > > Anyway, I just fixed it up again, please take a look. > >>> to handle PCI bus master devices that (via DMA) transfer little endian >>> data even on big endian systems. > > Hmm. I'm still afraid "transfer little endian data" might be ambiguous. > hto*()/*toh() functions are required only for data passed between > the target busmaster itself to control it. Any other little endian data > transferred to/from actual devices never require those byteswap ops. > > How about this one? > >> to handle PCI bus master devices that (via DMA) transfer word parameters >> in little endian even on big endian systems.
Still sounds pretty awkward. What about "little endian control data" instead of juts "little endian data"? It doesn't have to be perfect anyway; it's a historical note. -- David A. Holland dholl...@netbsd.org