sh_eth: add/use RMCR.RNC bit
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 15 Oct 2013 22:29:58 +0000 (02:29 +0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Oct 2013 20:49:58 +0000 (16:49 -0400)
commit305a3388b5b3121aff6b10054136b40ca91ab35b
tree68718fc756b50b51ea7e594b2865569b00a0a366
parentc3fa32b9764dc45dcf8a2231b1c110abc4a63e0b
sh_eth: add/use RMCR.RNC bit

Declare 'enum RMCR_BIT' containing the single member for the RMCR.RNC bit and
replace bare numbers in the driver by  this mnemonic.

Suggested-by: David Miller <davem@davemloft.net>
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>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h