mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Birger Koblitz <mail@birger-koblitz.de>
To: Daniel Golle <daniel@makrotopia.org>
Cc: "Andrew Lunn" <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	linux-usb@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"René van Dorst" <opensource@vdorst.com>
Subject: Re: [PATCH net-next] r8152: Add 2500baseT EEE status/configuration support
Date: Tue, 24 Feb 2026 18:32:51 +0100	[thread overview]
Message-ID: <557cb9f7-8caf-4aaa-ab9b-313d329fd216@birger-koblitz.de> (raw)
In-Reply-To: <aZz_0_Zt67XsOyTM@makrotopia.org>

Hi Daniel,

On 24/02/2026 2:33 am, Daniel Golle wrote:
>>   	tp->eee_en = eee->eee_enabled;
>>   	tp->eee_adv = val;
>> -
>> +	if (tp->support_2500full) {
>> +		val = linkmode_to_mii_eee_cap2_t(eee->advertised);
>> +		tp->eee_adv2 = val;
> 
> eee_adv2 set here is never actually written to the hardware.
> ie. you are never doing
> ocp_reg_write(tp, OCP_EEE_ADV2, tp->eee_adv2);
> for capable NICs.
thanks for the feedback! You are of course right, the writing part was 
forgotten when editing the patch. I will send a corrected v2.

Birger

  reply	other threads:[~2026-02-24 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 19:20 Birger Koblitz
2026-02-24  1:33 ` Daniel Golle
2026-02-24 17:32   ` Birger Koblitz [this message]
2026-02-24 17:02 ` [net-next] " Simon Horman
2026-02-24 17:36   ` Birger Koblitz

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=557cb9f7-8caf-4aaa-ab9b-313d329fd216@birger-koblitz.de \
    --to=mail@birger-koblitz.de \
    --cc=andrew+netdev@lunn.ch \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=opensource@vdorst.com \
    --cc=pabeni@redhat.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

all inboxes | Powered by JetHome®