diff options
| author | Sergei Shtylyov <[email protected]> | 2017-01-04 20:10:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-01-04 21:12:14 +0000 |
| commit | 71eae1ca77fd6be218d8a952d97bba827e56516d (patch) | |
| tree | ea650925189780c5f858bdf27ebdf243d033a136 | |
| parent | sfc: don't report RX hash keys to ethtool when RSS wasn't enabled (diff) | |
| download | kernel-71eae1ca77fd6be218d8a952d97bba827e56516d.tar.gz kernel-71eae1ca77fd6be218d8a952d97bba827e56516d.zip | |
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]>
Signed-off-by: David S. Miller <[email protected]>
| -rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 0af7fc279c85..00fafabab1d0 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -819,6 +819,7 @@ static struct sh_eth_cpu_data sh7734_data = { .tsu = 1, .hw_crc = 1, .select_mii = 1, + .shift_rd0 = 1, }; /* SH7763 */ |
