mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
net: nps_enet: Fix PCS reset
During commit b54b8c2d6e3c ("net: ezchip: adapt driver to little endian architecture") adapting to little endian architecture, zeroing of controller was left out. Signed-off-by: Elad Kanfi <eladkan@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
92a03eb012
commit
136ab0d0e1
@ -285,6 +285,7 @@ static void nps_enet_hw_reset(struct net_device *ndev)
|
||||
ge_rst_value |= NPS_ENET_ENABLE << RST_GMAC_0_SHIFT;
|
||||
nps_enet_reg_set(priv, NPS_ENET_REG_GE_RST, ge_rst_value);
|
||||
usleep_range(10, 20);
|
||||
ge_rst_value = 0;
|
||||
nps_enet_reg_set(priv, NPS_ENET_REG_GE_RST, ge_rst_value);
|
||||
|
||||
/* Tx fifo reset sequence */
|
||||
|
Loading…
x
Reference in New Issue
Block a user