* use uint8 for idx
* make config Isize/Osize uint32
* generally, align sizes in functions to HW objects
* Fix non-standard [0] size data array in EoE struct
This patch fixes some bugs on big-endian systems.
- Use temp variables for etohs() and etohl() at function calls to avoid
multiple function calls for one value.
- Fix and add use of etohs(), etohl(), htoes() and htoel().
- Fix use of 32bit values in 64bit variables.