summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Denisov <rtgbnm@gmail.com>2021-01-28 09:48:59 +0500
committerJakub Kicinski <kuba@kernel.org>2021-01-28 18:37:48 -0800
commit462512824f902a24de794290dd622e664587da1d (patch)
tree8a45cada76a45a55a86a04582febd1e6b92553b9 /include
parent4140ff1ba06d3fc16afd518736940ab742886317 (diff)
lan743x: fix endianness when accessing descriptors
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 <rtgbnm@gmail.com> Link: https://lore.kernel.org/r/20210128044859.280219-1-rtgbnm@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions