Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/share/man/man9



>  > >> -bus master devices which assumed little endian byte order in
>  > >> +bus master devices that do little endian
>  > >>  .Tn DMA
>  > >> -transfers, even on big endian systems.
>  > >> +transfers on big endian systems.
>  > 
>  > What's "little endian transfer"?
> 
> 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.

---
Izumi Tsutsui (who introduced htopci() macro into pcscp(4) in PR#6654
               to implement the driver on macppc about 11 years ago)


Home | Main Index | Thread Index | Old Index