diff options
author | Marcin Wojtas <mw@semihalf.com> | 2014-07-21 13:48:11 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-22 19:50:30 -0700 |
commit | b5c0a8009094d37c73649867c6d7d332a0d4fb4c (patch) | |
tree | 3025ee4cf367a9c0fc87e4dee7b4e426c13db452 /drivers/net/ethernet/marvell | |
parent | 0bec8c88dc2b076a0a4a0437e1e878026cbaccb4 (diff) | |
download | op-kernel-dev-b5c0a8009094d37c73649867c6d7d332a0d4fb4c.zip op-kernel-dev-b5c0a8009094d37c73649867c6d7d332a0d4fb4c.tar.gz |
net: mvpp2: Fix the periodic XON enable bit
This bit was originally wrong, the correct value is BIT(1), so fix it.
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index 4f6e4a1..ed32f97 100644 --- a/drivers/net/ethernet/marvell/mvpp2.c +++ b/drivers/net/ethernet/marvell/mvpp2.c @@ -262,7 +262,7 @@ #define MVPP2_GMAC_MAX_RX_SIZE_MASK 0x7ffc #define MVPP2_GMAC_MIB_CNTR_EN_MASK BIT(15) #define MVPP2_GMAC_CTRL_1_REG 0x4 -#define MVPP2_GMAC_PERIODIC_XON_EN_MASK BIT(0) +#define MVPP2_GMAC_PERIODIC_XON_EN_MASK BIT(1) #define MVPP2_GMAC_GMII_LB_EN_MASK BIT(5) #define MVPP2_GMAC_PCS_LB_EN_BIT 6 #define MVPP2_GMAC_PCS_LB_EN_MASK BIT(6) |