Commit d104acaf authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

sky2: turn off pause during shutdown

This unblocks the chip if it is stuck in pause cycle during
shutdown.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4bb3f522
......@@ -1808,7 +1808,8 @@ static int sky2_down(struct net_device *dev)
synchronize_irq(hw->pdev->irq);
sky2_gmac_reset(hw, port);
/* Force flow control off */
sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_PAUSE_OFF);
/* Stop transmitter */
sky2_write32(hw, Q_ADDR(txqaddr[port], Q_CSR), BMU_STOP);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment