Implement suspend/resume for bwfm(4) with PCIe backend. We try to send the
authorpatrick <patrick@openbsd.org>
Tue, 31 Aug 2021 23:05:11 +0000 (23:05 +0000)
committerpatrick <patrick@openbsd.org>
Tue, 31 Aug 2021 23:05:11 +0000 (23:05 +0000)
commit1a93a9bd4c24365f3b1e1f76c3adcf6b7720262b
treecec1bfae7be49e6e63e582d4cb5eda246ce21a1c
parent5f3f639036b4603e214aa34b1d5e060fa8570d57
Implement suspend/resume for bwfm(4) with PCIe backend.  We try to send the
device into D3 and do a hot-resume if possible.  Otherwise we need to clean
up the resources to allow complete HW re-initialization to take place.
sys/dev/ic/bwfm.c
sys/dev/ic/bwfmvar.h
sys/dev/pci/if_bwfm_pci.c
sys/dev/pci/if_bwfm_pci.h