Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4426843pxb; Tue, 5 Oct 2021 02:53:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwXD4I/UatNi7l1yPWf/t3yJuhIxCUFbSICjBf+1ayVoc/JoHqmUpQ9PZDrT34Gb6G2tYA X-Received: by 2002:a17:902:b193:b029:11a:a179:453a with SMTP id s19-20020a170902b193b029011aa179453amr4379577plr.69.1633427620653; Tue, 05 Oct 2021 02:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633427620; cv=none; d=google.com; s=arc-20160816; b=kc5XHJd/8nJ3n2pbG2SH4Z81IjcLeaR9iS+PKaYa9mYFiH0oxcFbPgSBgz9LUgGMyr Pa9DiOnCwMJbRPLAt8G+NdJbzWbkJPFznl4U2/LmnjPOe+eoEP+3Mcifh6ZaysNu9h5l PTiAhfxc2hSuU7UG6iw9hhgDvhd3XG6j1mF1mJiwj7eIeVjB3hs4T5tdPzgts0A8OPtA jSqu0H8XrYqwcY5zBT0NbhSCqTGClGuqBCadD8FPzCDi2UnoHnkrSGCkrzNYnGArpDBB sFVcBZX9LrOArMO0oe8D3a0qYqUsbAnuU5pN0JxAuDBAkgHv9xM7G3//R8uz6Dj9tssY lCIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=rvTAA/S1qTFQnVPQl2To8Sp/QSkNKF02DKAlD/yXSNU=; b=T1IDMpi1cNz2fMht0IGq2kpHSTDscbPQ1FjsWNKDDOfOixT4aj2lztNOfU+QMdCZ/o XJ5+Jdg0UrZE4JEEkO+7e1nOCvQ6pBBTN5ZN2pC7b1UZaOvlcQabu5v/AwP7F3nsS2Qg VLQ2TIO8LgGQiV0JYi99k8Gbqn/qk85Xo1i/nJCNles1Kj5hRzQMrKFldgchuOkybC4i RnUmgIF8MZqgPPhHuSeAyb0hrbnsiSymwL64o3zVFh+UIyWq45pW2XO/sr5qbWSAL/HJ FMVpKTN7vyrgxNtoy/kO4Uwiii5h4g6NrLqxTbGPb4+Yy0QEWi0horvw3C/bXZwgsghF bilg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=gHES+WMI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si1386023pjk.36.2021.10.05.02.53.27; Tue, 05 Oct 2021 02:53:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=gHES+WMI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233514AbhJEJxb (ORCPT + 99 others); Tue, 5 Oct 2021 05:53:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbhJEJxb (ORCPT ); Tue, 5 Oct 2021 05:53:31 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E135FC06161C; Tue, 5 Oct 2021 02:51:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rvTAA/S1qTFQnVPQl2To8Sp/QSkNKF02DKAlD/yXSNU=; b=gHES+WMIGOHFt5G6fas3+mpNGp UXHw12zXFfUhO2WKaBNst2q4sT3wkEeVD8zd9Mak5eW7upLtFsb8V1VoP5b/NQDJ3GMIPRziOXRzM p7TKUTKc8PbVSJGsiRFiZYJk62MM0LVgOWsmCDYeFznZPgZoPU3Z0n0aydmTUkhk6kcqxNIdJLzux PEogo4VYEpyuiBwuf+YvfVR/GsLtezZiONnO0NMlct3VTDZndneskBioYNoLkDmt9HJcbS0i++wq7 RFitPvyl7Qb9g4LZaWkENRdaR6kZ5+noXHjMLIuZgRt8sOxclW/nCGTQagLK8lm0ib97QJ/R8C/2r MOz5JJ8g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54948) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mXh6p-000067-7o; Tue, 05 Oct 2021 10:51:39 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mXh6o-0008N4-6J; Tue, 05 Oct 2021 10:51:38 +0100 Date: Tue, 5 Oct 2021 10:51:38 +0100 From: "Russell King (Oracle)" To: Sean Anderson Cc: netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, Andrew Lunn , Heiner Kallweit Subject: Re: [RFC net-next PATCH 06/16] net: phylink: Add function for optionally adding a PCS Message-ID: References: <20211004191527.1610759-1-sean.anderson@seco.com> <20211004191527.1610759-7-sean.anderson@seco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211004191527.1610759-7-sean.anderson@seco.com> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 04, 2021 at 03:15:17PM -0400, Sean Anderson wrote: > This adds a function to set the PCS only if there is not one currently > set. The intention here is to allow MAC drivers to have a "default" PCS > (such as an internal one) which may be used when one has not been set > via the device tree. This allows for backwards compatibility for cases > where a PCS was automatically attached if necessary. I'm not sure I entirely like this approach. Why can't the network driver check for the pcs-handle property and avoid using its "default" if present? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!