Subject: Re: PCI subsystem on BigEndian.
To: None <mycroft@mit.edu>
From: Niklas Hallqvist <niklas@appli.se>
List: tech-ports
Date: 04/25/1996 19:20:46
>>>>> "Charles" == Charles M Hannum <mycroft@MIT.EDU> writes:

Charles> Chris G Demetriou <Chris_G_Demetriou@UX2.SP.CS.CMU.EDU>
Charles> writes:

Chris>  A couple of people have suggested to me that there is some need
Chris> for 'native to bus' and 'bus to native' endianness conversion
Chris> macros...  This could very well be a good use for them.

Charles> That's not sufficient.  You can have devices that natively
Charles> speak big-endian and natively speak little-endian on the same
Charles> bus.

Eh, so you want to encode this in the softc?  Instead of having a
bus_{to,from}_host_*(bus_chipset_tag, value) you want a
device_{to,from}_host_*(softc_pointer, value)?  Yes, perhaps that is a
good idea...  At this moment, possibly an overkill, but as we are
planning for the future, we might as well go for it.

Niklas

Niklas Hallqvist       Phone: +46-(0)31-40 75 00  Home: +46-(0)31-41 93 95
Applitron Datasystem   Fax:   +46-(0)31-83 39 50  Home: +46-(0)31-41 93 96
Molndalsvagen 95       Email: niklas@appli.se     GSM:  +46-(0)70-714 10 35
S-412 63  GOTEBORG     WWW:   Here
Sweden		       IRC:   niklas (#NetBSD)