From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: dsa: Fix functional dsa-loop dependency on FIXED_PHY Date: Thu, 22 Mar 2018 13:08:00 -0400 (EDT) Message-ID: <20180322.130800.1607432793434617893.davem@davemloft.net> References: <20180321003110.1699-1-f.fainelli@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, andrew@lunn.ch, vivien.didelot@savoirfairelinux.com, linux-kernel@vger.kernel.org To: f.fainelli@gmail.com Return-path: In-Reply-To: <20180321003110.1699-1-f.fainelli@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Florian Fainelli Date: Tue, 20 Mar 2018 17:31:10 -0700 > We have a functional dependency on the FIXED_PHY MDIO bus because we register > fixed PHY devices "the old way" which only works if the code that does this has > had a chance to run before the fixed MDIO bus is probed. Make sure we account > for that and have dsa_loop_bdinfo.o be either built-in or modular depending on > whether CONFIG_FIXED_PHY reflects that too. > > Fixes: 98cd1552ea27 ("net: dsa: Mock-up driver") > Signed-off-by: Florian Fainelli Applied, thanks Florian.