mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 15:44:02 +08:00
via-velocity: Fix FLOW_CNTL_TX_RX handling in set_mii_flow_control()
Clear, don't set, ANAR_ASMDIR in this case. Noticed by Roel Kluin. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
80bb3a00fa
commit
bcbe53682f
@ -812,7 +812,7 @@ static void set_mii_flow_control(struct velocity_info *vptr)
|
||||
|
||||
case FLOW_CNTL_TX_RX:
|
||||
MII_REG_BITS_ON(ANAR_PAUSE, MII_REG_ANAR, vptr->mac_regs);
|
||||
MII_REG_BITS_ON(ANAR_ASMDIR, MII_REG_ANAR, vptr->mac_regs);
|
||||
MII_REG_BITS_OFF(ANAR_ASMDIR, MII_REG_ANAR, vptr->mac_regs);
|
||||
break;
|
||||
|
||||
case FLOW_CNTL_DISABLE:
|
||||
|
Loading…
Reference in New Issue
Block a user