Skip to content

Commit 359f4cd

Browse files
bigunclemaxdavem330
authored andcommitted
net: marvell: fix MVNETA_TX_IN_PRGRS bit number
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 82a44ae commit 359f4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/marvell/mvneta.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
#define MVNETA_VLAN_PRIO_TO_RXQ 0x2440
106106
#define MVNETA_VLAN_PRIO_RXQ_MAP(prio, rxq) ((rxq) << ((prio) * 3))
107107
#define MVNETA_PORT_STATUS 0x2444
108-
#define MVNETA_TX_IN_PRGRS BIT(1)
108+
#define MVNETA_TX_IN_PRGRS BIT(0)
109109
#define MVNETA_TX_FIFO_EMPTY BIT(8)
110110
#define MVNETA_RX_MIN_FRAME_SIZE 0x247c
111111
/* Only exists on Armada XP and Armada 370 */

0 commit comments

Comments
 (0)