netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux network PHY initial configuration for ports not 'up'
@ 2024-10-07 16:48 Tim Harvey
  2024-10-07 17:28 ` Florian Fainelli
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Harvey @ 2024-10-07 16:48 UTC (permalink / raw)
  To: netdev

Greetings,

What is the policy for configuration of network PHY's for ports that
are not brought 'up'?

I work with boards with several PHY's that have invalid link
configuration which does not get fixed until the port is brought up.
One could argue that this is fine because the port isn't up but in the
case of LED misconfiguration people wonder why the LED's are not
configured properly until the port is brought up (or they wonder why
LEDs are ilumnated at all for a port that isn't up). Another example
would be a PHY with EEE errata where EEE should be disabled but this
doesn't happen utnil the port is brought up yet while the port is
'down' a link with EEE is still established at the PHY level with a
link partner. One could also point out that power is being used to
link PHY's that should not even be linked.

In other words, should a MAC driver somehow trigger a PHY to get
initialized (as in fixups and allowing a physical link) even if the
MAC port is not up? If so, how is this done currently?

Best Regards,

Tim

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-09  0:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 16:48 Linux network PHY initial configuration for ports not 'up' Tim Harvey
2024-10-07 17:28 ` Florian Fainelli
2024-10-07 18:18   ` Tim Harvey
2024-10-07 18:35     ` Florian Fainelli
2024-10-08 20:35       ` Tim Harvey
2024-10-09  0:30         ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).