aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/intel/spi.c
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-09-13 01:47:39 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-09-13 01:50:42 +0000
commit3e271569ab62ab38cf42d4cd2e88c75ddacc5e59 (patch)
treef1775778698dacaed8cd463b817a91caf8fdd498 /sys/dev/intel/spi.c
parent443dc80b712c5eff1cadcd0fd816c3071aa8a0bf (diff)
pci: Adapt PME capability queries to stable/14stable/14
Add explicit D3hot and D3cold names and the bounds needed by pci_has_pme(), while retaining PCI_POWERSTATE_D3 == 3. D3cold is a capability-query state here, not a newly supported power transition. This avoids importing the ACPI D3cold changes for the PME and igc Wake-on-LAN backports. Use pci_has_pm() to check capability presence instead of pp_location, which is not present in stable/14. Keep the PCI configuration structure layout unchanged. Fixes: d831cb2ad3d8 ("pci: Expose PME support by power state") Fixes: 443dc80b712c ("igc: Correct Wake-on-LAN filter programming")
Diffstat (limited to 'sys/dev/intel/spi.c')
0 files changed, 0 insertions, 0 deletions