Date: Sun, 25 Apr 2021 22:27:22 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 238411] igb(4): Wake on Lan not working with Intel I210 Message-ID: <bug-238411-7501-T2s1Jm4MXO@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238411-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-238411-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238411 --- Comment #15 from Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp> --- (In reply to Abraham122x from comment #14) > I see that this if statement=20 > if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) =3D=3D 0) > seems to be always false in my case, although in the interface capabiliti= es and options the WOL_MAGIC flag is set. It is not correct, "adapter->wol" is always 0, if the flash ROM disables WOL regardless the device has a WOL functionality. The definition IGB_CAPS has IFCAP_WOL flag, and the igb device is always reported WOL capable to system, and ifconfig command can set or unset WOL flags. But if the flash ROM indicates WOL disabled, the variable adapter->wol is always 0 regardless indicating WOL enabled in the variable isc_capenable. The isc_capenable preserves status which flags are enabled or disabled. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238411-7501-T2s1Jm4MXO>