HomeFreeBSD

MFC r348786 (by chuck): Fix nda(4) PCIe link status output

Description

MFC r348786 (by chuck): Fix nda(4) PCIe link status output

Differentiate between PCI Express Endpoint devices and Root Complex
Integrated Endpoints in the nda driver. The Link Status and Capability
registers are not valid for Integrated Endpoints and should not be
displayed. The bhyve emulated NVMe device will advertise as being an
Integrated Endpoint.

Details

Provenance
mavAuthored on
Parents
rS350718: MFC r348110: Fix condition broken at r345815.
Branches
Unknown
Tags
Unknown