Subject: Re: bus_space_write_multi_*
To: None <port-macppc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-macppc
Date: 12/22/2000 18:21:33
>>> Is it my imagination, or are bus_space_write_multi_2 and
>>> bus_space_write_multi_4 broken? (I think they should be using
>>> outswrb and outslrb instead of outsw and outsl.)
>> Oops. Fixed.
> So is this known/suspected to fix any problems?
Not AFAIK. I'm working on a consluting gig that involves porting much
of the NetBSD kernel code to an embedded PowerPC 75x, and when I looked
at writing appropriate bus_space functions, I found that everything in
the existing macppc code made sense except the lack of byte-swapping in
those two functions. The rest of the pattern was compelling enough to
make me check rather than just assuming the macppc code was right....
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B