[Bug 296675] em0 WOL not working in 15.1 (82579LM)
[email protected] Sat, 11 Jul 2026 04:58:27 +0000
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296675 --- Comment #2 from Nick Price <[email protected]> --- Gonna submit a patch to test but I think D49222's correctness changes may have exposed an em(4) bug. Looking at Linux, there are a couple bits we are omitting: Linux sets E1000_WUC_APMPME in e1000_init_phy_wakeup(), but we're not setting that bit in em_enable_phy_wakeup() Linux is also setting APME on the MAC and PHY but we are only setting it on the MAC: E1000_WRITE_REG(hw, E1000_WUC, E1000_WUC_PHY_WAKE | E1000_WUC_PME_EN | E1000_WUC_APME); vs e1000_write_phy_reg(hw, BM_WUC, E1000_WUC_PME_EN); I think we're not fully re-arming and it's showing up now that PME# is being (properly) cleared at boot. -- You are receiving this mail because: You are the assignee for the bug.