Add WOL support to bge(4).
With this patch if_bge receives WOL support.
Like other NICs in FreeBSD when any of the WOL flags is set the NIC is
set to WOL upon NIC shutdown.
This fixes the following PRs 218579, 171744, 177184, and 184718.
Differential D31834
if_bge: Add support for WOL cy on Sep 4 2021, 1:50 PM. Authored by Tags None Referenced Files
Subscribers
Details Add WOL support to bge(4). With this patch if_bge receives WOL support. Like other NICs in FreeBSD when any of the WOL flags is set the NIC is This fixes the following PRs 218579, 171744, 177184, and 184718. Used by myself over the last five years. Tested by those in the listed PRs.
Diff Detail
Event TimelineComment Actions Seems fine to me. As a separate discussion I wonder about the expected default behavior here over time, there are some tradeoffs to defaulting WOL enabled (which many drivers do via initializing IFCAP as such) versus checking firmware state in various client Ethernet parts. Comment Actions Agreed, default WOL should be a policy decision whether all interfaces default to on or off. Personally, it doesn't matter to me however all should be the same. |