On Mon, 25 Jan 2021 14:03:20 +0500 Alexey Denisov wrote:
TX/RX descriptor ring fields are always little-endian, but conversion
wasn't performed for big-endian CPUs, so the driver failed to work.
This patch makes the driver work on big-endian CPUs. It was tested and
confirmed to work on NXP P1010 processor (PowerPC).
Signed-off-by: Alexey Denisov <redacted>
Thanks for the patch, you need to adjust the types of the members and
variables as well, otherwise sparse - the Linux type checking tool -
will start returning warnings that you interpret as le32 something
declared as CPU byteorder.