HomeFreeBSD

Don't set any WOL enabling hardware bits if WOL isn't requested

Description

Don't set any WOL enabling hardware bits if WOL isn't requested
according to the enabled interface capability bits. Also remove
some dead code, which tried to preserve already set contents of
E1000_WUC while that register is completely overwritten shortly
after in all cases.

Details

Provenance
mariusAuthored on
Parents
rS322985: cxgbe(4): Maintain one ifmedia per physical port instead of one per
Branches
Unknown
Tags
Unknown