FTL and Endianity

Alexandr Andreev andreev at niisi.msk.ru
Fri Jul 6 15:26:15 EDT 2001


David Woodhouse wrote:

>
>I didn't test - I think others did though. FTL is defined to be 
>little-endian. Why do you say the macros are unusable?
>
As i can see, cpu_to_le32 and others macros, are usable only when FTL
reading the FTL header. But when the ftl_fromat utility creates an ftl
partition, it doesn't swap any field of the header.
So, it doesn't matter on which endianity the FTL driver and ftl_format
works, it must be the same only.
Am i wrong?





More information about the linux-mtd mailing list