[Bug 282140] igc(4): Wake on LAN not working with Intel I226-V and GENERIC Kernel

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282140

Hiroshi Nishida <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hnishida@thelustrecollectiv
                   |                            |e.com

--- Comment #3 from Hiroshi Nishida <[email protected]> ---
Created attachment 269399
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269399&action=edit
Fix Wake-on-LAN for Intel I226-V (igc driver)

Tested on Intel NUC 13 Pro (Arena Canyon, Core i5-1340P) with FreeBSD
14.4-RELEASE.

Two issues were found:

1. igc_get_wakeup() never sets IGC_WUFC_MAG (magic packet bit), causing
   igc_enable_wakeup() to always skip WOL setup and jump to pme: label
   without arming the NIC for magic packet wakeup.

2. The PHY Power Management register has DIS_100_D3, DIS_1000_D3, and
   DIS_2500_D3 bits set, which disable link speeds in D3 state and prevent
   the NIC from receiving magic packets after shutdown.

Fix: Always set IGC_WUFC_MAG in igc_get_wakeup(), and clear the DIS_*_D3
bits in the PHPM register in igc_enable_wakeup().

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.