On Tue, Nov 17, 2026 at 02:27:07AM +0100, Andrew Lunn wrote:
On Mon, Nov 16, 2026 at 01:48:47PM -0300, Magnus Leatti wrote:
quoted
Hi Yao,
On Mon, Nov 16, 2026 at 03:17:00PM +0000, Yao Zi wrote:
quoted
quoted
Does the chip automatically enables WoL and loads MAC from eFuse on
power-on?
Yes. I pulled the power cable, kept the driver from loading and dumped
the registers before anything touched the chip: OOB WoL enabled, eFuse
address in filter 0, PMT armed for magic packet, receiver on. The
packet wake bit in WOL_CTRL is clear.
I've seen BIOS poke around in PHY registers before, especially if the
BIOS has an option for WoL.
I think it's likely not BIOS setting this up, since the chip's behavior
is the same when a reset is manually triggered, according to Magnus'
test.
I could grab some devices with U-Boot as firmware, and check against a
YT6801 addon card, which should confirm the power-on behavior.
Anyway, the approach of resetting the chip on .shutdown() to get WoL
working in S5 should have nothing to do with the power-up behavior. It
only affects whether the WoL behavior is consistent regardless of the
reason of entering S5.
Andrew
--
Thanks,
Yao Zi
Meow-mrrp-mrow, I'm a cat.