Commit 4acc5a8e authored by Dave Mitchell's avatar Dave Mitchell Committed by David S. Miller
Browse files

ibm_newemac: Fix EMACx_TRTR[TRT] bit shifts



The TRT bit shifts were reversed for EMAC4 and non-EMAC4 during the
port from ibm_emac to ibm_newemac. This patch corrects that error.
Signed-off-by: default avatarDave Mitchell <dmitchell@appliedmicro.com>
Acked-by: default avatarFeng Kan <fkan@appliedmicro.com>
Acked-by: default avatarProdyut Hazarika <phazarika@appliedmicro.com>
Acked-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6b863d1d
......@@ -263,8 +263,8 @@ struct emac_regs {
/* EMACx_TRTR */
#define EMAC_TRTR_SHIFT_EMAC4 27
#define EMAC_TRTR_SHIFT 24
#define EMAC_TRTR_SHIFT_EMAC4 24
#define EMAC_TRTR_SHIFT 27
/* EMAC specific TX descriptor control fields (write access) */
#define EMAC_TX_CTRL_GFCS 0x0200
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment