Subject: Re: FWB JackHammer PCI UltraSCSI interface
To: None <mjacob@feral.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-macppc
Date: 06/29/2001 23:50:22
In <20010629071516.D13931-100000@wonky.feral.com>
mjacob@feral.com wrote:

> Hmm. I haven't run across this myself. Does it work otherwise?
> It might be a !)$*)!$ endian issue again, or possibly something
> else.

Since 93c46/56 EEPROM stores all data in u_int16_t,
it is better to access them always via u_int16_t
rather than via u_int8_t pointer, which causes nightmare ;-)
In this case, no byteswapping is needed if we access data
in proper size.
(See dev/ic/iha.c, dev/ic/rtl81x9.c etc.)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp