Module Name: src Committed By: msaitoh Date: Wed Dec 28 09:29:35 UTC 2016
Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Fix a bug that hw.ixgN.wol_enable=0 doesn't work correctly. Clear the WUC and WUFC register if wol_enable is 0. ixgbe_setup_low_power_mode() calls ixgbe_stop() and it resets the chip. The reset change WUC and WUFC registers to the default, so clearing WUC and WUFC should be done after ixgbe_stop(). To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/dev/pci/ixgbe/ixgbe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.