From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBD3DC433DF for ; Sat, 17 Oct 2020 19:49:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95730207EA for ; Sat, 17 Oct 2020 19:49:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439611AbgJQTtI (ORCPT ); Sat, 17 Oct 2020 15:49:08 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:32782 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2439606AbgJQTtI (ORCPT ); Sat, 17 Oct 2020 15:49:08 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kTsCO-002Bby-9o; Sat, 17 Oct 2020 21:49:04 +0200 Date: Sat, 17 Oct 2020 21:49:04 +0200 From: Andrew Lunn To: Ard Biesheuvel Cc: Ilias Apalodimas , "open list:BPF JIT for MIPS (32-BIT AND 64-BIT)" , Willy Liu , "David S. Miller" , Jakub Kicinski , Sasha Levin , Florian Fainelli , Heiner Kallweit , Masahisa Kojima Subject: Re: realtek PHY commit bbc4d71d63549 causes regression Message-ID: <20201017194904.GP456889@lunn.ch> References: <20201017144430.GI456889@lunn.ch> <20201017151132.GK456889@lunn.ch> <20201017161435.GA1768480@apalos.home> <20201017180453.GM456889@lunn.ch> <20201017182738.GN456889@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > So we can fix this firmware by just setting phy-mode to the empty > string, right? I've never actually tried it, but i think so. There are no DT files actually doing that, so you really do need to test it and see. And there might be some differences between device_get_phy_mode() and of_get_phy_mode(). Andrew