Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1EE3714F97 for ; Tue, 8 Aug 2023 18:02:43 +0000 (UTC) Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DDC45FDDE for ; Tue, 8 Aug 2023 10:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=2pAmFX3YeIgmyhTrYrtcDwuXaxOBustyHvj5Pwix5uU=; b=2PItYUJQUzKUDbWrpfcklsCVBp B9cX9UFI24DymAEiKYWUCMnSsmZ/Er0jWt3eFapdFjfXIolp50pxp+MvnD7iwYZ6GkIQgHd2wETps iYQJgEPTkkgYlPBroEyL5L7T/3pMFT1jioKXRXS1IxSKS9HpqYeyO5/XCF672gNyNYII=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qTPfs-003UWY-US; Tue, 08 Aug 2023 18:35:12 +0200 Date: Tue, 8 Aug 2023 18:35:12 +0200 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Vladimir Oltean , Heiner Kallweit , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: dsa: mark parsed interface mode for legacy switch drivers Message-ID: <7ea0265a-516e-4bad-9eee-b65509bd236d@lunn.ch> References: <20230808120652.fehnyzporzychfct@skbuf> <20230808120652.fehnyzporzychfct@skbuf> <20230808123901.3jrqsx7pe357hwkh@skbuf> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net > $ git grep -l dsa_switch_ops.*= drivers/net/dsa/ | xargs grep -L '\.phylink_get_caps' > drivers/net/dsa/dsa_loop.c > drivers/net/dsa/mv88e6060.c > drivers/net/dsa/realtek/rtl8366rb.c > drivers/net/dsa/vitesse-vsc73xx-core.c > > I've floated the idea to Linus W and Arinc about setting > .mac_capabilities in the non-phylink_get_caps path as well, suggesting: > > MAC_1000 | MAC_100 | MAC_10 | MAC_SYM_PAUSE | MAC_ASYM_PAUSE There is a datasheet for the 6060 here: https://www.insidegadgets.com/wp-content/uploads/2014/07/88E6060.pdf It is Fast Ethernet only. Andrew