diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-05-19 23:02:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-21 00:56:42 +0200 |
commit | 27164491cb82b611b5269e632e4af0664788794d (patch) | |
tree | 3623ee9274bc443e3a86a01ff7d6025c7bdb3ee4 /drivers/net/ethernet/renesas/sh_eth.h | |
parent | Merge branch 'hns3-next' (diff) | |
download | linux-27164491cb82b611b5269e632e4af0664788794d.tar.xz linux-27164491cb82b611b5269e632e4af0664788794d.zip |
sh_eth: fix typo in EESR.TRO bit name
The correct name of the EESR bit 8 is TRO (transmit retry over), not RTO.
Note that EESIPR bit 8, TROIP remained correct...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h index 7d5aaba1384a..9d9e80c33343 100644 --- a/drivers/net/ethernet/renesas/sh_eth.h +++ b/drivers/net/ethernet/renesas/sh_eth.h @@ -243,7 +243,7 @@ enum EESR_BIT { EESR_CND = 0x00000800, EESR_DLC = 0x00000400, EESR_CD = 0x00000200, - EESR_RTO = 0x00000100, + EESR_TRO = 0x00000100, EESR_RMAF = 0x00000080, EESR_CEEF = 0x00000040, EESR_CELF = 0x00000020, @@ -263,7 +263,7 @@ enum EESR_BIT { EESR_CERF) /* Recv frame CRC error */ #define DEFAULT_TX_CHECK (EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | \ - EESR_RTO) + EESR_TRO) #define DEFAULT_EESR_ERR_CHECK (EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE | \ EESR_RDE | EESR_RFRMER | EESR_ADE | \ EESR_TFE | EESR_TDE) |