On 10/21/25 03:53, Bjoern A. Zeeb wrote:
The branch main has been updated by bz:
URL:
https://cgit.FreeBSD.org/src/commit/?id=885e8f272f7515b0325974de72d18b73318eff07
commit 885e8f272f7515b0325974de72d18b73318eff07
Author: Bjoern A. Zeeb <[email protected]>
AuthorDate: 2025-10-17 20:38:11 +0000
Commit: Bjoern A. Zeeb <[email protected]>
CommitDate: 2025-10-21 07:49:39 +0000
LinuxKPI: add skeleton pci_enable_wake()
Given we do not yet support "wake" bits in device there is little need
doing it in PCI if we cannot check if we are supposed to do the
operation in first place. Once we would implement this, we would need
to also do the appropriate PCI (pme) checks before enabling (disabling)
it.
MFC after: 3 days
Reviewed by: dumbbell
Differential Revision: https://reviews.freebsd.org/D53208
FWIW, we have pci_enable_pme() that this probably maps to. Similarly,
pci_has_pm()
is a helper routine to see if a device supports power management. The various
NIC
drivers supporting WOL use these helper routines to manage PME.
--
John Baldwin