sh_eth: enable RX descriptor word 0 shift on SH7734
Subsystems (3)
PATCH 1/1 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 f0e81fecd4f8 ("net: sh_eth: Add support SH7734")
Signed-off-by Sergei Shtylyov <[email protected]>
---
The patch is against DaveM's 'net.git' repo.
drivers/net/ethernet/renesas/sh_eth.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ethernet/renesas/sh_eth.c +1 -0
@@ -819,6 +819,7 @@ static struct sh_eth_cpu_data sh7734_dat .tsu = 1, .hw_crc = 1, .select_mii = 1, + .shift_rd0 = 1, };/* SH7763 */
From: Sergei Shtylyov <[email protected]>
Date: Wed, 04 Jan 2017 23:10:23 +0300
Quoted 6 lines
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")Signed-off-by Sergei Shtylyov <[email protected]>
Applied, thank you.