Re: [PATCH v2] net: ezchip: adapt driver to little endian architecture

2016-03-02 Thread Arnd Bergmann
On Wednesday 02 March 2016 21:38:04 Lada Trimasova wrote: > Since ezchip network driver is written with big endian EZChip platform it > is necessary to add support for little endian architecture. > > The first issue is that the order of the bits in a bit field is > implementation specific. So all

[PATCH v2] net: ezchip: adapt driver to little endian architecture

2016-03-02 Thread Lada Trimasova
Since ezchip network driver is written with big endian EZChip platform it is necessary to add support for little endian architecture. The first issue is that the order of the bits in a bit field is implementation specific. So all the bit fields are removed. Named constants are used to access neces