Skip to content

Commit 8ced91a

Browse files
Sergei Shtylyovgregkh
authored andcommitted
sh_eth: enable RX descriptor word 0 shift on SH7734
[ 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: f0e81fe ("net: sh_eth: Add support SH7734") Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent fe1da3b commit 8ced91a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/net/ethernet/renesas/sh_eth.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ static struct sh_eth_cpu_data sh7734_data = {
750750
.tsu = 1,
751751
.hw_crc = 1,
752752
.select_mii = 1,
753+
.shift_rd0 = 1,
753754
};
754755

755756
/* SH7763 */

0 commit comments

Comments
 (0)