Commit 71eae1ca authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by David S. Miller

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: f0e81fec ("net: sh_eth: Add support SH7734")
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4fdda958
...@@ -819,6 +819,7 @@ static struct sh_eth_cpu_data sh7734_data = { ...@@ -819,6 +819,7 @@ static struct sh_eth_cpu_data sh7734_data = {
.tsu = 1, .tsu = 1,
.hw_crc = 1, .hw_crc = 1,
.select_mii = 1, .select_mii = 1,
.shift_rd0 = 1,
}; };
/* SH7763 */ /* SH7763 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment