Skip to content

Commit 68e616e

Browse files
bigunclemaxgregkh
authored andcommitted
net: marvell: fix MVNETA_TX_IN_PRGRS bit number
[ Upstream commit 359f4cdd7d78fdf8c098713b05fee950a730f131 ] According to Armada XP datasheet bit at 0 position is corresponding for TxInProg indication. Fixes: c5aff18 ("net: mvneta: driver for Marvell Armada 370/XP network unit") Signed-off-by: Maxim Kiselev <bigunclemax@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 41d5dfa commit 68e616e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ethernet/marvell/mvneta.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
#define MVNETA_DESC_SWAP BIT(6)
101101
#define MVNETA_TX_BRST_SZ_MASK(burst) ((burst) << 22)
102102
#define MVNETA_PORT_STATUS 0x2444
103-
#define MVNETA_TX_IN_PRGRS BIT(1)
103+
#define MVNETA_TX_IN_PRGRS BIT(0)
104104
#define MVNETA_TX_FIFO_EMPTY BIT(8)
105105
#define MVNETA_RX_MIN_FRAME_SIZE 0x247c
106106
#define MVNETA_SERDES_CFG 0x24A0

0 commit comments

Comments
 (0)