From a191388ea6b44d4a0ff130fe5c207e5076922206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 23 Mar 2022 15:52:14 +0100 Subject: [PATCH] pci: add some pcie extensions labels Change-Id: I938e2d47d60dc631b8b57d3afefcfb2a85374bad Reviewed-on: https://review.haiku-os.org/c/haiku/+/5160 Reviewed-by: Adrien Destugues --- .../kernel/bus_managers/pci/pci_info.cpp | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/add-ons/kernel/bus_managers/pci/pci_info.cpp b/src/add-ons/kernel/bus_managers/pci/pci_info.cpp index 319700b359..3c7165af5d 100644 --- a/src/add-ons/kernel/bus_managers/pci/pci_info.cpp +++ b/src/add-ons/kernel/bus_managers/pci/pci_info.cpp @@ -413,6 +413,39 @@ get_extended_capability_name(uint16 cap_id) return "Downstream Porto Containment"; case PCI_extcap_id_l1pm: return "L1 Power Management Substates"; + case PCI_extcap_id_ptm: + return "Precision Time Measurement"; + case PCI_extcap_id_m_pcie: + return "PCIe over M-PHY"; + case PCI_extcap_id_frs: + return "FRS Queuing"; + case PCI_extcap_id_rtr: + return "Readiness Time Reporting"; + case PCI_extcap_id_dvsec: + return "Designated Vendor-Specific"; + case PCI_extcap_id_vf_resizable_bar: + return "VF Resizable BAR"; + case PCI_extcap_id_datalink: + return "Data Link Feature"; + case PCI_extcap_id_16gt: + return "Physical Layer 16.0 GT/s"; + case PCI_extcap_id_lmr: + return "Lane Marging at the Receiver"; + case PCI_extcap_id_hierarchy_id: + return "Hierarchy ID"; + case PCI_extcap_id_npem: + return "Native PCIe Enclosure Management"; + case PCI_extcap_id_pl32: + return "Physical Layer 32.0 GT/s"; + case PCI_extcap_id_ap: + return "Alternate Protocol"; + case PCI_extcap_id_sfi: + return "System Firmware Intermediary"; + case PCI_extcap_id_sf: + return "Shadow Functions"; + case PCI_extcap_id_doe: + return "Data Object Exchange"; + default: return NULL; }