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

2016-03-11 Thread Vineet Gupta
On Friday 04 March 2016 03:50 AM, David Miller wrote: > From: Lada Trimasova > Date: Thu, 3 Mar 2016 17:07:46 +0300 > >> Since ezchip network driver is written with big endian EZChip platform it >> is necessary to add support for little endian architecture. >> >>

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

2016-03-11 Thread Vineet Gupta
On Friday 04 March 2016 03:50 AM, David Miller wrote: > From: Lada Trimasova > Date: Thu, 3 Mar 2016 17:07:46 +0300 > >> 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

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

2016-03-03 Thread David Miller
From: Lada Trimasova Date: Thu, 3 Mar 2016 17:07:46 +0300 > 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 >

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

2016-03-03 Thread David Miller
From: Lada Trimasova Date: Thu, 3 Mar 2016 17:07:46 +0300 > 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

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

2016-03-03 Thread Arnd Bergmann
On Thursday 03 March 2016 17:07:46 Lada Trimasova wrote: > From: Lada Trimasova > To: net...@vger.kernel.org > CC: linux-kernel@vger.kernel.org, Lada Trimasova > , Alexey Brodkin , > Noam Camus

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

2016-03-03 Thread Arnd Bergmann
On Thursday 03 March 2016 17:07:46 Lada Trimasova wrote: > From: Lada Trimasova > To: net...@vger.kernel.org > CC: linux-kernel@vger.kernel.org, Lada Trimasova > , Alexey Brodkin , > Noam Camus , Tal Zilcer , Arnd Bergmann > > Date: Today 15:07:46 > Since ezchip network driver is written

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

2016-03-03 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

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

2016-03-03 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