From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 4/5 v3] net: gemini: Move main init to port Date: Thu, 12 Jul 2018 17:39:46 -0700 (PDT) Message-ID: <20180712.173946.252492489533123841.davem@davemloft.net> References: <20180711193245.21980-1-linus.walleij@linaro.org> <20180711193245.21980-4-linus.walleij@linaro.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, ulli.kroll@googlemail.com, f.fainelli@gmail.com, mirq-linux@rere.qmqm.pl, andrew@lunn.ch To: linus.walleij@linaro.org Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:45956 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387827AbeGMAvt (ORCPT ); Thu, 12 Jul 2018 20:51:49 -0400 In-Reply-To: <20180711193245.21980-4-linus.walleij@linaro.org> Sender: netdev-owner@vger.kernel.org List-ID: From: Linus Walleij Date: Wed, 11 Jul 2018 21:32:44 +0200 > The initialization sequence for the ethernet, setting up > interrupt routing and such things, need to be done after > both the ports are clocked and reset. Before this the > config will not "take". Move the initialization to the > port probe function and keep track of init status in > the state. > > Signed-off-by: Linus Walleij Applied.