* [PATCH 1/1] net: nps_enet: Fix PCS reset
@ 2016-07-12 13:01 Elad Kanfi
2016-07-12 20:59 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Elad Kanfi @ 2016-07-12 13:01 UTC (permalink / raw)
To: davem; +Cc: eladkan, linux-kernel, abrodkin, netdev, Noam Camus
From: Noam Camus <noamca@mellanox.com>
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>
---
drivers/net/ethernet/ezchip/nps_enet.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/ezchip/nps_enet.c b/drivers/net/ethernet/ezchip/nps_enet.c
index 06f0317..9b7a3f5 100644
--- a/drivers/net/ethernet/ezchip/nps_enet.c
+++ b/drivers/net/ethernet/ezchip/nps_enet.c
@@ -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 */
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] net: nps_enet: Fix PCS reset
2016-07-12 13:01 [PATCH 1/1] net: nps_enet: Fix PCS reset Elad Kanfi
@ 2016-07-12 20:59 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-07-12 20:59 UTC (permalink / raw)
To: eladkan; +Cc: linux-kernel, abrodkin, netdev, noamca
From: Elad Kanfi <eladkan@mellanox.com>
Date: Tue, 12 Jul 2016 16:01:11 +0300
> From: Noam Camus <noamca@mellanox.com>
>
> 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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-12 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 13:01 [PATCH 1/1] net: nps_enet: Fix PCS reset Elad Kanfi
2016-07-12 20:59 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).