--- - branch: MAIN date: Fri Dec 14 09:47:40 UTC 2018 files: - new: '1.604' old: '1.603' path: src/sys/dev/pci/if_wm.c pathrev: src/sys/dev/pci/if_wm.c@1.604 type: modified - new: '1.110' old: '1.109' path: src/sys/dev/pci/if_wmreg.h pathrev: src/sys/dev/pci/if_wmreg.h@1.110 type: modified id: 20181214T094740Z.411051f1878f0862362f93322ba89e0201cb7236 log: | - Fix availability detection of WoL on some chips. This change has no effect other than dmesg because WM_F_WOL is currently not used to change the behavior: - For ICH/PCH, check the capability not from NVM but from the WUC register. Check the value before clearing the register. - 82580 and newer have per-port NVM block, so read the area correctly. Note that 82580, I350 and I354 may have PCI function 2 and 3. - Some devices can't detect WoL capability neither from NVM nor from WUC. Use PCI device ID and the function number. - Print the WUS (WakeUp Status) register bits when resume. module: src subject: 'CVS commit: src/sys/dev/pci' unixtime: '1544780860' user: msaitoh