Subject: Re: CVS commit: basesrc/usr.sbin/installboot/arch
To: None <matt@netbsd.org, lukem@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 06/01/2002 02:46:49
In article <20020531055436.DDCA2B004@cvs.netbsd.org>
matt@netbsd.org wrote:

> Module Name:	basesrc
> Committed By:	matt
> Date:		Fri May 31 05:54:36 UTC 2002
> 
> Modified Files:
> 	basesrc/usr.sbin/installboot/arch: alpha.c
> 
> Log Message:
> Use to htobe16, not htons

I think this should be be16toh(), not htobe16() because
the return value is used for arithmetic on the host.

But does MI installboot for alpha really work on big endian machines?
It seems all values in bb16[] should be little endian and all arithmetics
for bb16 should be done in host's endian.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp