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>
This commit is contained in:
Sergei Shtylyov
2013-10-16 02:29:58 +04:00
committed by David S. Miller
parent c3fa32b976
commit 305a3388b5
2 changed files with 6 additions and 3 deletions

View File

@@ -321,6 +321,9 @@ enum TD_STS_BIT {
#define TD_TFP (TD_TFP1|TD_TFP0)
/* RMCR */
enum RMCR_BIT {
RMCR_RNC = 0x00000001,
};
#define DEFAULT_RMCR_VALUE 0x00000000
/* ECMR */