netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net: sh_eth: add support for SH7786 and big-endian
@ 2017-12-04 14:17 Thomas Petazzoni
  2017-12-04 14:17 ` [PATCH 1/2] net: sh_eth: add support for SH7786 Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Thomas Petazzoni @ 2017-12-04 14:17 UTC (permalink / raw)
  To: David S. Miller, Sergei Shtylyov, Niklas Söderlund,
	Geert Uytterhoeven, Simon Horman
  Cc: netdev, linux-renesas-soc, Thomas Petazzoni

Hello,

I've recently been working on an SH7786 based platform, which uses the
sh_eth network controller. One peculiarity of my setup is that the CPU
is configured big-endian (even though little-endian is more
traditional in the Linux SuperH world), and the sh_eth driver was not
ready for this.

The first patch simply adds the sh_eth_cpu_data structure that
describes the SH7786 controller.

The second patch fixes the driver for big-endian operation. However,
I'd like this patch to be carefully reviewed by Sergei Shtylyov who
already did some endianness related changes in this driver. Indeed, my
change is based on the assumption that the DMA descriptors are in the
native endianness of the CPU.

Thanks,

Thomas

Thomas Petazzoni (2):
  net: sh_eth: add support for SH7786
  net: sh_eth: make work on big endian systems

 drivers/net/ethernet/renesas/sh_eth.c | 89 ++++++++++++++++++++++-------------
 1 file changed, 55 insertions(+), 34 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-12-10 12:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-04 14:17 [PATCH 0/2] net: sh_eth: add support for SH7786 and big-endian Thomas Petazzoni
2017-12-04 14:17 ` [PATCH 1/2] net: sh_eth: add support for SH7786 Thomas Petazzoni
2017-12-04 16:56   ` Sergei Shtylyov
2017-12-04 17:06     ` Sergei Shtylyov
2017-12-05  7:49     ` Thomas Petazzoni
2017-12-05 19:04       ` Sergei Shtylyov
2017-12-05 19:49         ` Sergei Shtylyov
2017-12-05 20:14           ` David Miller
2017-12-08 15:40           ` Thomas Petazzoni
2017-12-10 11:55             ` Sergei Shtylyov
2017-12-05 10:42     ` Geert Uytterhoeven
2017-12-10 12:20   ` Sergei Shtylyov
2017-12-10 12:41     ` Sergei Shtylyov
2017-12-10 12:46     ` Sergei Shtylyov
2017-12-04 14:17 ` [PATCH 2/2] net: sh_eth: make work on big endian systems Thomas Petazzoni
2017-12-04 16:39   ` Sergei Shtylyov
2017-12-05 19:44 ` [PATCH 0/2] net: sh_eth: add support for SH7786 and big-endian David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).