Subject: Re: CVS commit: syssrc/sys
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Andrew Doran <ad@interlude.eu.org>
List: source-changes
Date: 12/09/2002 15:07:17
Jaromir Dolecek <jdolecek@netbsd.org> 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