Konstantin Belousov 5db2a4a812 Implement resets for PCI buses and PCIe bridges.
For PCI device (i.e. child of a PCI bus), reset tries FLR if
implemented and worked, and falls to power reset otherwise.

For PCIe bus (child of a PCIe bridge or root port), reset
disables PCIe link and then re-trains it, performing what is known as
link-level reset.

Reviewed by:	imp (previous version), jhb (previous version)
Sponsored by:	Mellanox Technologies
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D19646
2019-04-05 19:25:26 +00:00
..
2019-03-29 20:21:28 +00:00
2019-04-05 02:54:02 +00:00
2018-12-19 21:57:58 +00:00
2019-03-24 14:51:17 +00:00
2019-03-24 14:51:17 +00:00