Give new home to the comment from ppt_pci_reset(), explaining a nuance

of power reset.

Noted by:	soralx@cydem.org
Sponsored by:	Mellanox Technologies
MFC after:	12 days
This commit is contained in:
Konstantin Belousov 2019-04-07 08:58:09 +00:00
parent bca4681bf8
commit ca19084f36
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345997

View File

@ -6394,6 +6394,11 @@ pcie_flr(device_t dev, u_int max_delay, bool force)
return (true);
}
/*
* Attempt a power-management reset by cycling the device in/out of D3
* state. PCI spec says we can only go into D3 state from D0 state.
* Transition from D[12] into D0 before going to D3 state.
*/
int
pci_power_reset(device_t dev)
{