https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238411

--- Comment #15 from Kaho Toshikazu <k...@elam.kais.kyoto-u.ac.jp> ---
(In reply to Abraham122x from comment #14)

> I see that this if statement 
>   if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0)
> seems to be always false in my case, although in the interface capabilities 
> 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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to