commit | 97717edc69eabdcc8b1859af75a363790c3e9cb6 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Sun Apr 24 23:45:23 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 26 16:07:20 2016 -0400 |
tree | 9f5c06c67bcdafa86fd38f29a4e6b2284e603b8f | |
parent | 3ccec4bd10c95bbd8729b1edebef887b666905bf [diff] |
sh_eth: use EDMR_SRST_GETHER in sh_eth_check_reset() sh_eth_check_reset() uses a bare number where EDMR_SRST_GETHER would fit, i.e. the receive/trasmit software reset bits that comprise EDMR_SRST_GETHER read as 1 while the corresponding reset is in progress and thus, when both are 0, the reset is complete. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>