This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
cs8900a for big endian targets
- From: Bob Koninckx <bob dot koninckx at mech dot kuleuven dot ac dot be>
- To: ecos-patches at sources dot redhat dot com
- Date: 03 Mar 2003 21:55:48 +0100
- Subject: cs8900a for big endian targets
- Organization: KULeuven
Attached patch makes a number of modifications to the code to support
both big endian and little endian targets. Thoroughly tested with big
endian target (powerpc), not been tested with a little endian target as
I don't have one.
Notice that this patch supposes that the data bytes are swapped by
_hardware_ for big endian as recommended in the cs8900a datasheet
I hope that someone has the possibility to test this with a little
endian target and that it eventually makes it into the source tree.
Best,
Bob
--
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322535
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B bob dot koninckx at mech dot kuleuven dot ac dot be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------