OSDN Git Service

sh_eth: get rid of 'sh_eth_cpu_data::shift_rd0'
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 6 Jan 2017 21:02:52 +0000 (00:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 20:40:56 +0000 (15:40 -0500)
commit2e653ff0758ae8e47499d588666eb77f6a0fc755
treef5c1f10f4be612a2920c9a482b6c3cc4ab5bc5cf
parentbb1d3034449ed08e2ffbf5813a5ad9fa30475359
sh_eth: get rid of 'sh_eth_cpu_data::shift_rd0'

After checking all  the available manuals,  I have enough information to
conclude  that the 'shift_rd0' flag is only relevant  for the Ether cores
supporting so called "intelligent checksum" (and hence having CSMR) which
is indicated  by the 'hw_crc' flag.  Since  all the relevant SoCs now have
both these flags set, we can  at last  get  rid of the former flag...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h