Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: syssrc/sys
Jaromir Dolecek <jdolecek%netbsd.org@localhost> wrote:
> I looked on ic/dpt.c a bit, and it seems the code uses value taken
> from htobe32() later for copyin(). So it appears it has only
> chance of working on big endian 32bit machines.
Read it again. There's no copyin() there, and it was tested on a PC.
The user command packet (ucp) has word sized fields that are in host byte
order. The packet sent to the device (cp) is big endian. As for the LP64
stuff, I assumed wrong and will fix that.
Andrew
Home |
Main Index |
Thread Index |
Old Index