Subject: bus_space question
To: None <tech-kern@netbsd.org>
From: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
List: tech-kern
Date: 03/21/2000 10:30:03
Hi!

When I use bus_space_write_2 or _4, can I just use constant values and
it will work on all architectures, or do I have to hide the arguments
in htonl or something like that?

And if the hardware is expecting bits to be set, and I use
bus_space_write_1 for the byte the bit is in, is b_s_w_1(tag, handle,
offset, 1<<3) gonna work?

Please CC me, I'm not on this list.

Thanks,
 Thomas

-- 
Thomas Klausner - wiz@danbala.tuwien.ac.at
WWW-homepage: http://fbma.tuwien.ac.at/~e9325658/Welcome.html
Programming is like sex:
  One mistake and you have to support for a lifetime.