Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp31973pxf; Wed, 31 Mar 2021 15:43:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNxKSpoe0EfhQVTfKRp8RTYT98l194W1Bwnun+TQgRZ0yzEEniqT5oh7n/jmSWshQmvN0R X-Received: by 2002:a50:d753:: with SMTP id i19mr6507285edj.43.1617230586959; Wed, 31 Mar 2021 15:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617230586; cv=none; d=google.com; s=arc-20160816; b=E0p36sRZM1MeGwnwXXSJ4kJWywvRX8K9XiZW5Ch+Fx4auyj3WhPae8B1cuAJxH+gEa rfKwNR7gHoSWKJxKJ+JrjbnjY2yqS0e4PC79fVfSc0kY7o9J2Moc/pFACmAGqis0Vqfs UVZPeTW7/ilxsupJNrqQmwNJsSmKkdNxHQwYBrJ314Lb730KS1HfT2LawiTGIcf4deXY s6pABRYKAVYNRS5uCBgwFWLQwDl/UVT/8SCsamZlVJ3PbbR2rfzklsMcXw87BhqdOd3A RHDyJOm4pQtmXkY/zjtRGfrhjqJUvfIM9h04xQf4J0eDiBAEHmCzM0W8/ESq7YJfcKcG SuEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9QaKo9WAYUDaTOxUaoNtLKSoZnEHjtlZt0Hchyhyx10=; b=hRlBlHDGwvUHDkN3UC9NJnysUdypwKUiI7jDPYI0oBbclQHBYJm9x9QlydEDs3NNU6 g0HFOzrkumzhFmK7iuPqpKlNsh/+HIXLELD1HeLzgx8MleDvxi8M2SSRPGNBmOmEiLXe tylTQfIggCRtky+niY0LMy0CARm4IGUoxPekjz6hjoHq3dM3QhVvwXZ4Kgy3OzNgp/Kq N46upBPrt+aJMzoP8pA+gcCzG9TEmJUCc5oEPoRsJGQQ5rr/MoO7amLExpYPZIktQ7Ff O81Cb+R2yzPkCIN7e7I4pEUUA2oDxm7dVGTONC2lOkAR+CX6dVfL8TrbbX7Ciqd2t3Rt VujA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p9si2860529edm.322.2021.03.31.15.42.44; Wed, 31 Mar 2021 15:43:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231818AbhCaWk7 (ORCPT + 99 others); Wed, 31 Mar 2021 18:40:59 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:57122 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhCaWk1 (ORCPT ); Wed, 31 Mar 2021 18:40:27 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lRjVX-00EFCD-S8; Thu, 01 Apr 2021 00:40:15 +0200 Date: Thu, 1 Apr 2021 00:40:15 +0200 From: Andrew Lunn To: Grant Grundler Cc: Oliver Neukum , Jakub Kicinski , Roland Dreier , nic_swsd , netdev , "David S . Miller" , LKML Subject: Re: [PATCHv4 1/4] usbnet: add _mii suffix to usbnet_set/get_link_ksettings Message-ID: References: <20210330021651.30906-1-grundler@chromium.org> <20210330021651.30906-2-grundler@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210330021651.30906-2-grundler@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 29, 2021 at 07:16:48PM -0700, Grant Grundler wrote: > From: Oliver Neukum > > The generic functions assumed devices provided an MDIO interface (accessed > via older mii code, not phylib). This is true only for genuine ethernet. > > Devices with a higher level of abstraction or based on different > technologies do not have MDIO. To support this case, first rename > the existing functions with _mii suffix. > > v2: rebased on changed upstream > v3: changed names to clearly say that this does NOT use phylib > v4: moved hunks to correct patch; reworded commmit messages > > Signed-off-by : Oliver Neukum > Tested-by: Roland Dreier > Reviewed-by: Grant Grundler > Tested-by: Grant Grundler Reviewed-by: Andrew Lunn Andrew