Skip to contentSkip to conversation

Patch "sh_eth: enable RX descriptor word 0 shift on SH7734" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Aug 4, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

sh_eth: enable RX descriptor word 0 shift on SH7734

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

     sh_eth-enable-rx-descriptor-word-0-shift-on-sh7734.patch

and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Fri Aug 4 15:30:20 PDT 2017

From: Sergei Shtylyov <[email protected]>
Date: Wed, 4 Jan 2017 23:10:23 +0300
Subject: sh_eth: enable RX descriptor word 0 shift on SH7734

From: Sergei Shtylyov <[email protected]>

[ Upstream commit 71eae1ca77fd6be218d8a952d97bba827e56516d ]

The RX descriptor word 0 on SH7734 has the RFS[9:0] field in bits 16-25 (bits 0-15 usually used for that are occupied by the packet checksum). Thus we need to set the 'shift_rd0' field in the SH7734 SoC data...

Fixes f0e81fecd4f8 ("net: sh_eth: Add support SH7734")
---
 drivers/net/ethernet/renesas/sh_eth.c |    1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/renesas/sh_eth.c +1 -0
@@ -750,6 +750,7 @@ static struct sh_eth_cpu_data sh7734_dat
 	.tsu		= 1,
 	.hw_crc		= 1,
 	.select_mii	= 1,
+	.shift_rd0	= 1,
 };
 
 /* SH7763 */

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/sh_eth-enable-rx-descriptor-word-0-shift-on-sh7734.patch