Article View: linux.kernel.netdev
Article #26204RE: [PATCH net-next v10 11/12] r8152: add TGPHY register access for RTL8157 and RTL8159
From: Chih Kai Hsu
Date: Thu, 03 Dec 2026 08:03
Date: Thu, 03 Dec 2026 08:03
168 lines
22687 bytes
22687 bytes
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 2 · Low: 1
>
> If you believe none of the issues are legitimate, please reply to each issue of
> Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork know
> by including "pw-bot: cr" as a separate line at the end of your reply (one such
> reply per series is enough).
>
> - [Medium] If the TGPHY busy bit stays set, set_carrier() retries every
> 100 ms with no limit and no backoff, for as long as the interface is…
> - [Medium] On RTL8157/8159 a single PHY write can now be dropped while
> later writes still go through.
> - [Low] The commit message says rtl_phy_patch_request() 'releases
> PATCH_REQUEST when a later step fails, so a failed access does not…
>
> --
>
> r8152: add TGPHY register access for RTL8157 and RTL8159
>
> This patch adds a TGPHY command channel for PHY register access on
> RTL8157 and RTL8159. ocp_reg_read() and ocp_reg_write() now go through
> per-chip rtl_ops.phy_read/phy_write hooks. The PHY accessors and the helpers
> built on them return int, and selected callers act on failures.
>
> > diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index
> > 392b7015f4925..b9586c30c04dd 100644
> > --- a/drivers/net/usb/r8152.c
> > +++ b/drivers/net/usb/r8152.c
>
> [ ... ]
>
> > @@ -1911,100 +1958,221 @@ static void ocp_byte_set_bits(struct r8152
> > *tp, u16 type, u16 index, u8 set)
>
> [ ... ]
>
> > +static int wait_tgphy_cmd_ready(struct r8152 *tp) {
> > + u16 ocp_data;
> > + int ret;
> > +
> > + ret = read_poll_timeout(ocp_read_word, ocp_data,
> > + test_bit(RTL8152_INACCESSIBLE,
> &tp->flags) ||
> > + !(ocp_data & TGPHY_CMD_BUSY),
> > + 2000, 20000, false, tp,
> > + MCU_TYPE_USB, USB_TGPHY_CMD);
> > +
> > + if (ret)
> > + dev_err_ratelimited(&tp->intf->dev, "TGPHY cmd busy
> > + timeout\n");
> > +
> > + return test_bit(RTL8152_INACCESSIBLE, &tp->flags) ? -ENODEV :
> > +ret; }
> > +
> > +static int rtl_tgphy_access(struct r8152 *tp, u16 addr, u16 *data,
> > +bool write) {
> > + u16 cmd = 0;
> > + int ret;
> > +
> > + ret = wait_tgphy_cmd_ready(tp);
> > + if (ret < 0)
> > + goto out;
>
> [Severity: Medium]
> On RTL8157/8159, can a single dropped PHY write now corrupt the PHY patch
> RAM without any error being reported?
>
> Before this patch, these chips used the OCP window. There, a failed control
> transfer goes through r8152_control_msg() and rtl_set_inaccessible(), which
> blocks every later write. A register sequence therefore either completed or
> stopped.
>
> Here a busy timeout skips this one access and returns -ETIMEDOUT. The device
> stays accessible, so if the busy bit clears later, the next write goes through.
>
> The PHY loaders write OCP_SRAM_ADDR once and then stream data words,
> relying on the hardware to auto-increment the address. They ignore every
> return value:
>
> drivers/net/usb/r8152.c:rtl8152_fw_phy_nc_apply() {
> ...
> ocp_reg_write(tp, OCP_SRAM_ADDR, __le16_to_cpu(phy->fw_reg));
> for (i = 0; i < num; i++)
> ocp_reg_write(tp, OCP_SRAM_DATA,
> __le16_to_cpu(data[i]));
> ...
> }
>
> The same pattern appears in rtl8152_fw_phy_union_apply(). It also appears in
> open-coded SRAM/SRAM2 bursts in r8157_hw_phy_cfg() (0x8f9c, 0x8566,
> 0x82c8, 0x82a0) and r8159_hw_phy_cfg() (0x81c4).
>
> A dropped DATA write would shift every later word down one SRAM address. A
> dropped ADDR write would send the whole block to wherever the address
> pointer was left.
>
> Nothing reads the data back. rtl8152_apply_firmware() also ignores the errno
> that rtl_pre_ram_code() now returns, and it still records rtl_fw->version and
> logs success.
>
> The commit message says the sram_*() and hw_phy_cfg callers still ignore the
> status. Could it also mention, or the code prevent, this partial-stream case? It
> was not possible with the OCP path.
Yes, I will mention this in the commit message.
>
> [ ... ]
>
> > @@ -4597,36 +4767,52 @@ static inline void rtl_reset_ocp_base(struct
> > r8152 *tp) static int rtl_phy_patch_request(struct r8152 *tp, bool
> > request, bool wait) {
>
> [ ... ]
>
> > - for (i = 0; wait && i < 5000; i++) {
> > - u32 ocp_data;
> > + if (ret < 0)
> > + return ret;
> >
> > - if (test_bit(RTL8152_INACCESSIBLE, &tp->flags))
> > - return -ENODEV;
> > + for (i = 0; wait && i < 5000; i++) {
> > + if (test_bit(RTL8152_INACCESSIBLE, &tp->flags)) {
> > + ret = -ENODEV;
> > + goto err;
> > + }
> >
> > usleep_range(1000, 2000);
> > - ocp_data = ocp_reg_read(tp, OCP_PHY_PATCH_STAT);
> > - if ((ocp_data & PATCH_READY) ^ check)
> > + ret = ocp_reg_read(tp, OCP_PHY_PATCH_STAT, &ocp_data);
> > + if (ret < 0)
> > + goto err;
> > + else if ((ocp_data & PATCH_READY) ^ check)
> > break;
> > }
> >
>
> [ ... ]
>
> > + return 0;
> > +
> > +err:
> > + if (request)
> > + rtl_phy_patch_request(tp, false, false);
> > +
> > + return ret;
> > }
>
> [Severity: Low]
> The commit message says:
>
> rtl_phy_patch_request() returns the errno of a failed write, and
> releases PATCH_REQUEST when a later step fails, so a failed access
> does not leave it asserted.
>
> Is that guaranteed on this err path?
>
> The release is an ocp_reg_clr_bits() read-modify-write of
> OCP_PHY_PATCH_CMD. It goes through the same TGPHY channel that just failed,
> and its return value is discarded.
>
> Suppose the original failure was a busy timeout, for example on the
> OCP_PHY_PATCH_STAT read in the wait loop. The release's own
> wait_tgphy_cmd_ready() would then most likely time out too.
> PATCH_REQUEST would stay set, and the caller would only see the original
> errno.
>
> The success-path release is also unchecked. This applies to
> rtl_post_ram_code() and to the r8153b, r8156, r8156b, r8157 and r8159
> hw_phy_cfg functions:
>
> rtl_phy_patch_request(tp, false, true);
>
> A dropped clear there would leave the PHY MCU in patch-request mode until
> the next full hw_phy_cfg.
>
> Could the commit message be reworded, or could the result of the release be
> checked?
>
> [ ... ]
>
> > @@ -7240,8 +7482,18 @@ static void set_carrier(struct r8152 *tp) {
> > struct net_device *netdev = tp->netdev;
> > struct napi_struct *napi = &tp->napi;
> > + int bmsr;
> > +
> > + bmsr = r8152_mdio_read(tp, MII_BMSR);
> > + if (bmsr < 0) {
> > + if (bmsr != -ENODEV) {
> > + set_bit(RTL8152_LINK_CHG, &tp->flags);
> > + schedule_delayed_work(&tp->schedule, HZ / 10);
> > + }
> > + return;
> > + }
>
> [Severity: Medium]
> If the TGPHY busy bit stays set on RTL8157/8159, does this retry forever?
The retry should not be there. wait_tgphy_cmd_ready() polls the busy
bit for 20 ms. If that times out, the hardware is in error, so another
attempt only times out again. In v11, set_carrier() returns on a failed
BMSR read and keeps the current state, as in v9, and nothing re-arms.
>
> wait_tgphy_cmd_ready() returns -ETIMEDOUT without setting
> RTL8152_INACCESSIBLE, so bmsr is never -ENODEV here. The following chain
> then repeats every 100 ms with no retry limit or backoff:
>
> rtl_work_func_t()
> set_carrier()
> r8152_mdio_read(tp, MII_BMSR)
> rtl_tgphy_access()
> wait_tgphy_cmd_ready() -> -ETIMEDOUT
> set_bit(RTL8152_LINK_CHG, &tp->flags)
> schedule_delayed_work(&tp->schedule, HZ / 10)
>
> It only stops when the device is marked inaccessible or the interface goes down.
>
> While it runs, each pass does a usb_autopm get/put. Each pass also holds
> tp->control for 20 to 40 ms out of every 100 ms. The ethtool handlers, the MII
> ioctls and hw_phy_work all wait on that mutex.
>
> Each pass also reaches dev_err_ratelimited(). The default ratelimit of
> 10 messages per 5 seconds still lets about 2 lines per second through, with no
> end. Does that match this statement in the commit message?
>
> A timeout is logged ratelimited, so a stuck busy bit does not flood
> the log
>
> In addition, delay_autosuspend() returns true whenever the delayed work is
> pending:
>
> if (work_busy(&tp->schedule.work) || sw_linking != hw_linking)
> return true;
>
> rtl8153_in_nway() also returns true on a failed read. Runtime autosuspend
> would therefore be blocked for as long as the fault lasts.
>
> The commit message leaves recovery from a TGPHY timeout to a follow-up
> series. Should this retry be bounded in the meantime?
>
> [ ... ]
>
> --
> Sashiko AI review ·
> https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261130063123.2408-1-
> nic_swsd%40realtek.com
Best Regards,
Chih-Kai
---
pw-bot: cr
Technical Details
Message-ID:
<f9d3a228cccb4929bf8429c5d4018467@realtek.com>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376388-linux-kernel-netdev=dewy.ruReferences:
<20261130063123.2408-12-nic_swsd@realtek.com> <179610757024.3146.14412805988724383466@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376388-linux-kernel-netdev=dewy.ru From: hsu.chih.kai@realtek.com (Chih Kai Hsu) Newsgroups: linux.kernel.netdev Subject: RE: [PATCH net-next v10 11/12] r8152: add TGPHY register access for RTL8157 and RTL8159 Date: Thu, 3 Dec 2026 08:03:40 +0000 Organization: Usenet Network Message-ID: <f9d3a228cccb4929bf8429c5d4018467@realtek.com> References: <20261130063123.2408-12-nic_swsd@realtek.com> <179610757024.3146.14412805988724383466@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Injection-Info: usenet.network; logging-data="2431549"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Bps9kilEEOj5Yd9P09Qg5CzhvJg= sha256:p4FgzCC5OQJyWSdhr2sFfLMMSWguX2BDB3fpoIo54+c= sha1:2hlxQjq5hdtV6JA94Ty79CLTuLI= sha256:OrYUJFG0mWaMeQFbDyEJIwAosBjJEMxblTkbiFVjQPA= Content-Language: zh-TW List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 23A04117878; Thu, 3 Dec 2026 11:04:42 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.151 X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=realtek.com X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RC-ZtJ415vfu; Thu, 3 Dec 2026 11:04:37 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-376388-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=realtek.com X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 81FB5117870; Thu, 3 Dec 2026 11:04:27 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id F0F026039B0; Thu, 3 Dec 2026 08:04:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1796285064; b=BgwHeRhfg0g9T28SRPz2aLR8T8oGcLhH/W/Kz5yKW2V/uDz2DWK/zeD3NvR+jvyZRgaL JaArc6KznLmgRWN6MiyqniTvJrLgOu6SlpGd01Lrv2n1d/z9uyLw3ic+v8TlBRAA4CYHr F2XQm7FMqfCxv9eDYdHDoNzJTVzChR1eGk2QBzMMDTHQ24WSGWne6lbmXFUQxsLKUsjuk 7bBtXfBFeMp6GoObvPMf0Cs9zuXFhH3L4iuTFZ8y6g272ynfwwK+rLhVujPciAqbKq3Na io1SlvoUGjsV1BxA5Rwr1gTMot3RTQvsvRMnx3V8m84VpnMisMhYkC6VdcYKpSVLzqg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796285064; h=X-Original-To:Received:DMARC-Filter:X-SpamFilter-By:DKIM-Signature: Received:Received:Received:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language: Content-Language:Content-Type:Content-Transfer-Encoding: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version; bh=NYqHvz7/0Nijw2REIuza/BFC8WaAk2bOwknV6Sd5uiE=; b=Swea67B5c/l7B2V8gXfsriNNw56/syR3Fgck5DKPcvtdiYk9eCj20XCXuhiZyph/0/A6 6HPXGpuiczqTD+JdltM/0kNwzXigh+TfS34qQcWklacIoECR5B5f9UV/FmfU3CMxHJJzT 4SxMEmjAmHAhwg3ZUF58qjs82BFgAdsCFc8juY9ml0u803XXJ+uELl9+pOYs3gbxQnH46 EQRyBmf3nEoIzD1OIz4ZptmddTXFc5oR5J6lAiWDo1cQ5rmNdgfAoYdmxCAp+0hhlknI9 GuIAoVMAvgbJBFcFU1VkwPU53P/tBOiOtCFl028BxLm7NrnbSGpyYb1QOl/y8ZFwBWg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=BGobIQ9n; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=fail smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 24423606A333; Thu, 3 Dec 2026 08:04:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=BGobIQ9n X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=211.75.126.72 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796285058; b=U/RSLVR5aZsbznI71wE3+TDpPStiVq9o6W9eMYjO9EJDedFNI5R6oBoSxpoOL8xP4sFc P5KnqAfI0kl4xreMDn4yF4wWCBsF5JUuKJguIzaPt72+wcYF5RO/NYaIBy06+Pe9390+g iaGRkHsq+BJatFM86/okr2bC7+A1XNcJuYKjExXKJfPr3IaiAFSWRnmIBNzTIWKx7yYpo jfy1ARqDxj0taKdUCiIIXpKH9Z+NPGl2S25YaCUWr30/EvLpyPelaHQJ3RDO9879zrpGp KwPdx3uR4v7tzT2iE8MlbnjW7QBN/Kr7GOyWc7NoluhQKj5IwsGIcn0QIzu9fNE/wcw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796285058; h=DMARC-Filter:X-SpamFilter-By:DKIM-Signature:Received:Received: Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID: References:In-Reply-To:Accept-Language:Content-Language: x-originating-ip:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=NYqHvz7/0Nijw2REIuza/BFC8WaAk2bOwknV6Sd5uiE=; b=ueXEmmoh1hj51+Jkrxx5BqQsx7UZ4JAJ+qCxJTd12j/lhpX7c53aabQTg7st64JX3lqj jf44/crVs5DySf+VIVAG/AJ7Rru+VcB2h6Fl9EFJChmNdy93CiiLoUKThKXkcEJkTlhi8 ESEpLJLAx/Ok5W4ynhG//8bDzBHp3J7w4coFMTFi8bzieE1XfKZEaVwcR6aD4UGTBWSFp out6bdj9UecO30IcynjynN6R5mDo/QRLAUMZm+YmJrPu6SpiYPh8OO5lYbIYm+qi2USDE NttBKZlAc6+XQNFxNk6rFS3pd3uATXcxoOD2P3DsOiYgJhMl+lFGybLtiqGpfPohmvQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass header.d=realtek.com header.i=@realtek.com header.a=rsa-sha256 header.s=dkim header.b=BGobIQ9n; arc=none smtp.remote-ip=211.75.126.72 X-Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F939606A32C; Thu, 3 Dec 2026 08:04:17 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8F939606A32C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 6B383fBM21756266, This message is accepted by code: ctloc85258 X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1796285021; bh=NYqHvz7/0Nijw2REIuza/BFC8WaAk2bOwknV6Sd5uiE=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=BGobIQ9nmZCl46wo2KvO0Kb2aN5rB3jcl7gE6ldlIYuHjJ2/znSKh3tEZ4mRr5xGM d1hAWcqwhj3XHJQtGWYTuqS52zM3YfJDLXLxnc/VOhmqaBgEXaAqmBS8HvldHZJEPo nti+HkpgmdpKopOJ0sVNy02hACKAXAcpiFNM4WXoBRqjDv/1U0IHFgZ0z97xbFW8G/ YXiCl4wAg/TinQbG7mBT0OTiA6qJ3qvta/lUOtoZSfOA1CpXHGJK6PHwZWrvA9Lk9j 0xao+TVHpr1LyhuJlNJkrf7GY0ja+qQBGN2oar2EpHlK6e/qp2jVfOIPhiAIbS+lYp K8oJz6Rwd0JPA== X-Received: from mail.realtek.com (rtkexhmbs02.realtek.com.tw[172.21.6.41]) by rtits2.realtek.com.tw (8.15.2/3.29/5.94) with ESMTPS id 6B383fBM21756266 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 3 Dec 2026 16:03:41 +0800 X-Received: from RTKEXHMBS06.realtek.com.tw (10.21.1.56) by RTKEXHMBS02.realtek.com.tw (172.21.6.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Thu, 3 Dec 2026 16:03:40 +0800 X-Received: from RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef]) by RTKEXHMBS06.realtek.com.tw ([fe80::eeeb:c765:ca73:5eef%10]) with mapi id 15.02.2562.056; Thu, 3 Dec 2026 16:03:40 +0800 X-CC: "davem@davemloft.net" <davem@davemloft.net>, "kuba@kernel.org" <kuba@kernel.org>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, nic_swsd <nic_swsd@realtek.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>, "edumazet@google.com" <edumazet@google.com>, "bjorn@mork.no" <bjorn@mork.no>, "pabeni@redhat.com" <pabeni@redhat.com>, "andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>, "mail@birger-koblitz.de" <mail@birger-koblitz.de> X-Thread-Topic: [PATCH net-next v10 11/12] r8152: add TGPHY register access for RTL8157 and RTL8159 X-Thread-Index: AQHdgJRu+KZJAqk8EE6Glj3YXhqoCLdHOAcAgAO9xLA= X-In-Reply-To: <179610757024.3146.14412805988724383466@kernel.org> X-Accept-Language: zh-TW, en-US X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list