This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Oops ... Better send it with the attachment ... 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 ----------------------------------------------------------------------
Attachment:
cs8900a.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |