U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mikhail Zhilkin <csharper2005@gmail.com>
To: David Lechner <dlechner@baylibre.com>, u-boot@lists.u-boot-project.org
Cc: jerome.forissier@arm.com, ryder.lee@mediatek.com,
	weijie.gao@mediatek.com, chunfeng.yun@mediatek.com,
	igor.belwon@mentallysanemainliners.org, jstephan@baylibre.com,
	GSS_MTK_Uboot_upstream@mediatek.com, trini@konsulko.com
Subject: Re: [PATCH v1 2/3] net: mtk_eth: an8855: enable link error recovery
Date: Sat, 14 Nov 2026 11:58:55 +0300	[thread overview]
Message-ID: <9247f9ca-6bdf-4876-b92c-78dfd9f1a951@gmail.com> (raw)
In-Reply-To: <14306a07-86f5-4309-930d-5668f361e73f@baylibre.com>

Hi David,

On 11/10/26 00:23, David Lechner wrote:
>> +++ b/drivers/net/mtk_eth/an8855.c
>> @@ -599,7 +599,7 @@ static int an8855_port_sgmii_init(struct an8855_switch_priv *priv, u32 port)
>>  	an8855_reg_write(priv, AN8855_PLL_CTRL_0, val);
>>  
>>  	an8855_reg_read(priv, AN8855_RX_CTRL_26, &val);
>> -	val &= ~BIT(23);
>> +	val |= BIT(23);
> 
> It looks like the proposed Linux patch also clears BIT(24) here.

You're absolutely right, I missed the `val &= ~BIT(24);` line.
I will add it in v2 to match the proposed Linux driver exactly.

Thanks!
Mikhail


  reply	other threads:[~2026-11-14  8:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-07 14:24 [PATCH v1 0/3] net: mtk_eth: an8855: fix packet loss and sync with Linux Mikhail Zhilkin
2026-11-07 14:24 ` [PATCH v1 1/3] net: mtk_eth: an8855: fix bitwise collision in RX_CTRL_8 register Mikhail Zhilkin
2026-11-09 21:23   ` David Lechner
2026-11-14  8:57     ` Mikhail Zhilkin
2026-11-07 14:24 ` [PATCH v1 2/3] net: mtk_eth: an8855: enable link error recovery Mikhail Zhilkin
2026-11-09 21:23   ` David Lechner
2026-11-14  8:58     ` Mikhail Zhilkin [this message]
2026-11-07 14:24 ` [PATCH v1 3/3] net: mtk_eth: an8855: sync SerDes analog tuning with Linux driver Mikhail Zhilkin
2026-11-09 21:25   ` David Lechner
2026-11-14  9:03     ` Mikhail Zhilkin
2026-11-09 21:23 ` [PATCH v1 0/3] net: mtk_eth: an8855: fix packet loss and sync with Linux David Lechner
2026-11-14  8:54   ` Mikhail Zhilkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9247f9ca-6bdf-4876-b92c-78dfd9f1a951@gmail.com \
    --to=csharper2005@gmail.com \
    --cc=GSS_MTK_Uboot_upstream@mediatek.com \
    --cc=chunfeng.yun@mediatek.com \
    --cc=dlechner@baylibre.com \
    --cc=igor.belwon@mentallysanemainliners.org \
    --cc=jerome.forissier@arm.com \
    --cc=jstephan@baylibre.com \
    --cc=ryder.lee@mediatek.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.u-boot-project.org \
    --cc=weijie.gao@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox