Subject: Re: bus.h style question
To: Chris G. Demetriou <>
From: Martin Husemann <>
List: tech-kern
Date: 08/18/1997 10:10:05
cgd wrote:

> In other words, if the device is logically presenting a 16-bit
> register containing the value 0xabcd, it should show up as 0xabcd when
> read with bus_space_read_2.

That sounds fine.

So the answers to my original question are: (1) no, I cannot use
bus_space_read_4 at an arbitrary (unknown to me) position due to possible
allignement constraints on some architecturs and (2) yes, I should use
bus_space_read_2 to get the 16 bit signature value and expect it to be
always the same.

Leo, I guess you should fix bus.h on port atari then?