net: marvell: fix MVNETA_TX_IN_PRGRS bit number
[ Upstream commit359f4cdd7d] According to Armada XP datasheet bit at 0 position is corresponding for TxInProg indication. Fixes:c5aff18204("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
850401a23a
commit
8e0881f6f5
@@ -103,7 +103,7 @@
|
|||||||
#define MVNETA_DESC_SWAP BIT(6)
|
#define MVNETA_DESC_SWAP BIT(6)
|
||||||
#define MVNETA_TX_BRST_SZ_MASK(burst) ((burst) << 22)
|
#define MVNETA_TX_BRST_SZ_MASK(burst) ((burst) << 22)
|
||||||
#define MVNETA_PORT_STATUS 0x2444
|
#define MVNETA_PORT_STATUS 0x2444
|
||||||
#define MVNETA_TX_IN_PRGRS BIT(1)
|
#define MVNETA_TX_IN_PRGRS BIT(0)
|
||||||
#define MVNETA_TX_FIFO_EMPTY BIT(8)
|
#define MVNETA_TX_FIFO_EMPTY BIT(8)
|
||||||
#define MVNETA_RX_MIN_FRAME_SIZE 0x247c
|
#define MVNETA_RX_MIN_FRAME_SIZE 0x247c
|
||||||
/* Only exists on Armada XP and Armada 370 */
|
/* Only exists on Armada XP and Armada 370 */
|
||||||
|
|||||||
Reference in New Issue
Block a user