Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1533493ybe; Mon, 2 Sep 2019 23:15:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1msHxWqGCkwFC4YS5nPempvOO2UcfxAlZpH/JvdTerT4hyN3ziE3KvmVfn8mLPGgfSu9q X-Received: by 2002:a17:902:c3:: with SMTP id a61mr15535449pla.13.1567491305447; Mon, 02 Sep 2019 23:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567491305; cv=none; d=google.com; s=arc-20160816; b=cGLTD4XoivQNwa660aVs6IV4+lYd5F51lG6ov3KYYhQK62vfnlpt/Yt9AA35SUcGzk 9/SDu9QJ/oOp1ZHGFKTTr5rhCmTNS+AeY/MK4bgjD15Sa/z91DDnvgOp9pQ4/kTFUJLp ets4A3I9XrcUJZrdRQ+UqBisS/YFvmiALq+9rNQEMgTDUWwsPUg9ZG+1jhORdvsluBfD qahmVZwF6DO0+Aneu0TyC6i5hEjn5IwF89IcUtO8rWVW0xqoYxurkz7XXy9hA0FGPuEs evPLpyJZJXyGCNzF0gAe0ELcVtV9vzWDIvsFdG1qg4gpWv8bka2L0oDz4Ri4uk+gMTzN +lOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=empVtvEx6pDVT5ENsHzRlwPA+mxpcVViT9/7IGzqxCw=; b=mjyL2VAr9fzBL1rfDt5it/ROeYcYz4qu0ZTLfycZ/3ZJMHeJM8KQYlZlzocp1fRfYH HDxFGjLHxBovYdIWhsOHdMGJQ1BsKUhfwEJwYQyy6dBiHUF4AvuDP3tubZQeqmyPQ1nP wirg9O7tjuCz8YT5HEIURgnbfxWhZW8UKRRCEwkdjEhB/f0bQnxem61Y5XXMuZUZffkf Yq3lRnRy/yfZwayw6aP933cmAkR5phmbDm67I/AD/t6uWYBI6+NJ4mWX7gSyF/zQ1y0v FaCUt/JGf0fJI2VeTYBqUHL9JsQebiwpkUoaUmu48oKXn9a/J+4Pvy/FKYgpPZWqnYDH eZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gL4pS1x5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si9433386pfc.169.2019.09.02.23.14.49; Mon, 02 Sep 2019 23:15:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gL4pS1x5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726986AbfICGNu (ORCPT + 99 others); Tue, 3 Sep 2019 02:13:50 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40632 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbfICGNu (ORCPT ); Tue, 3 Sep 2019 02:13:50 -0400 Received: by mail-wr1-f67.google.com with SMTP id c3so16018099wrd.7; Mon, 02 Sep 2019 23:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=empVtvEx6pDVT5ENsHzRlwPA+mxpcVViT9/7IGzqxCw=; b=gL4pS1x54DZxWW4miqt/kKn4qepS4++BA54/8kpLBWo9AlDViATDSEXs0aEo8Wcwd0 ZRQG0G8cIvW2ujXNywia/By2NMJszN59oMV2SvpYMKbvYKj+eppXvb0CEUCwtabtpUbK +uRIEY2CFkW4RxGHECWa/RINC/EYWtF7BvIq3yA+VaHejuiq+GbmYpq4WFGZZJMx5nUQ LBvPSbFQNIpGTAp/SH18T5q552YhV3/bU7Jr/KkGuYY1yd+g05EPULKG/xTYp+Rdwm2Q 3RPS+rLQ/woRMl36TpeGOU0PKVk5Ir/BE1baoWQjdHwiMoTyMkOKu2KIl5yCN0ajBObC abZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=empVtvEx6pDVT5ENsHzRlwPA+mxpcVViT9/7IGzqxCw=; b=Y0UiqejEYPMA7XXvVG9ojOU5XifMYqkeRbABsryL6YrP/DwabhqVxcw0fiazkaV0Oz FuSZ3AERVWCWJdI2mw4XVmYFL6ONDL4iJJif360rIWoqf9nMRDc9i2Lhhm0kaknb/2DV jWPKyYWSfXI1CKGApfd6Wbqn36UARrG3cTxnanjYgn/7e4KkU1VRC5EXZTUYCzvKveQC hH1A/UeEbcT52RSTABhjcN6fj4thnBKOMFj+jG43jEn3yrkYGnpZUL/GSryQkSzOWy4O AIe36xkO3t7Klq8msv+hJLiAx9Nb2jxkRqPXgLB5V7Vwe5lWHne24snqBH3XB4Uh2Xpk jrwg== X-Gm-Message-State: APjAAAVbzVAjVyV26NTMCOuuxR77s9Imxdor/+G4ZWO2P6SDNsygs2B2 tJy/tG6M5vDZEy744rcBHiLVM5Sc X-Received: by 2002:a5d:428c:: with SMTP id k12mr6012125wrq.196.1567491227920; Mon, 02 Sep 2019 23:13:47 -0700 (PDT) Received: from ?IPv6:2003:ea:8f04:7c00:f018:f11c:b684:4652? (p200300EA8F047C00F018F11CB6844652.dip0.t-ipconnect.de. [2003:ea:8f04:7c00:f018:f11c:b684:4652]) by smtp.googlemail.com with ESMTPSA id l20sm16190210wrb.61.2019.09.02.23.13.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Sep 2019 23:13:47 -0700 (PDT) Subject: Re: [PATCH net-next] r8152: modify rtl8152_set_speed function To: Hayes Wang , "netdev@vger.kernel.org" Cc: nic_swsd , "linux-kernel@vger.kernel.org" References: <1394712342-15778-326-Taiwan-albertk@realtek.com> <280e6a3d-c6c3-ef32-a65d-19566190a1d3@gmail.com> <0835B3720019904CB8F7AA43166CEEB2F18DAB41@RTITMBSVM03.realtek.com.tw> From: Heiner Kallweit Message-ID: Date: Tue, 3 Sep 2019 08:13:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <0835B3720019904CB8F7AA43166CEEB2F18DAB41@RTITMBSVM03.realtek.com.tw> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03.09.2019 05:16, Hayes Wang wrote: > Heiner Kallweit [mailto:hkallweit1@gmail.com] >> Sent: Tuesday, September 03, 2019 2:37 AM > [...] >> Seeing all this code it might be a good idea to switch this driver >> to phylib, similar to what I did with r8169 some time ago. > > It is too complex to be completed for me at the moment. > If this patch is unacceptable, I would submit other > patches first. Thanks. > My remark isn't directly related to your patch and wasn't meant as an immediate ToDo. It's just a hint, because I think using phylib could help to significantly simplify the driver. > Best Regards, > Hayes > > Heiner