Skip to content

Commit 71eae1c

Browse files
Sergei Shtylyovdavem330
authored andcommitted
sh_eth: enable RX descriptor word 0 shift on SH7734
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>
1 parent 4fdda95 commit 71eae1c

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
@@ -819,6 +819,7 @@ static struct sh_eth_cpu_data sh7734_data = {
819819
.tsu = 1,
820820
.hw_crc = 1,
821821
.select_mii = 1,
822+
.shift_rd0 = 1,
822823
};
823824

824825
/* SH7763 */

0 commit comments

Comments
 (0)