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

2016-03-03 Thread Lada Trimasova
r using the function "put_unaligned_be32" in case of unaligned access and in other case "iowrite32_rep". The last little fix is a space between type and pointer to observe coding style. Signed-off-by: Lada Trimasova Cc: Alexey Brodkin Cc: Noam Camus Cc: Tal Zilcer Cc: Arnd Bergmann

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

2016-03-02 Thread Lada Trimasova
igned access and in other case "cpu_to_be32" as we write from CPU to peripheral. The last little fix is a space between type and pointer to observe coding style. Signed-off-by: Lada Trimasova Cc: Alexey Brodkin Cc: Noam Camus Cc: Tal Zilcer Cc: Arnd Bergmann --- changes v1->v2: - re

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

2016-02-26 Thread Lada Trimasova
ripheral. The last little fix is a space between a type and a pointer to observe coding style. Signed-off-by: Lada Trimasova Cc: Alexey Brodkin Cc: Noam Camus Cc: Tal Zilcer Cc: Arnd Bergmann --- drivers/net/ethernet/ezchip/nps_enet.c | 15 -- drivers/net/e