mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:40:59 +07:00
net: nps_enet: Fix PCS reset
During commit b54b8c2d6e
("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…
Reference in New Issue
Block a user