sh_eth: reuse sh_eth_chip_reset()
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 7 May 2016 21:09:01 +0000 (14:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2016 04:15:23 +0000 (00:15 -0400)
commitc66b2581123cd1527b6a084f39e9271cb02673b7
treeda7a5e9ca84fca47cd9847938cf4f7c1d385de58
parent7927092253da598331542bdedb8fd5612f161f80
sh_eth: reuse sh_eth_chip_reset()

All the chip_reset() methods repeat the code writing to the ARSTR register
and delaying for 1 ms, so that we can reuse sh_eth_chip_reset() twice.

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