Re: [PATCH] dwc_eth_qos: Reset hardware before PHY start

2016-02-06 Thread David Miller
From: Rabin Vincent Date: Tue, 2 Feb 2016 09:39:02 +0100 > From: Rabin Vincent > > The hardware reset is currently done after phy_start() is called, > leading to a race where we can lose the link status if the phy state > machine calls dwceqos_adjust_link() before we reset the MAC registers. >

[PATCH] dwc_eth_qos: Reset hardware before PHY start

2016-02-02 Thread Rabin Vincent
From: Rabin Vincent The hardware reset is currently done after phy_start() is called, leading to a race where we can lose the link status if the phy state machine calls dwceqos_adjust_link() before we reset the MAC registers. Acked-by: Lars Persson Signed-off-by: Rabin Vincent --- drivers/net