New field: PCI Segment Number. Signed-off-by: Jerry Hoemann <jerry.hoem...@hpe.com> --- dmioem.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dmioem.c b/dmioem.c index 71bd019..e03d1eb 100644 --- a/dmioem.c +++ b/dmioem.c @@ -1345,6 +1345,7 @@ static int dmi_decode_hp(const struct dmi_header *h) * 0x0C | Parent Hub | BYTE | Instance number of internal Hub * 0x0D | Port Speed | BYTE | Enumerated value of speed configured by BIOS * 0x0E | Device Path| STRING| UEFI Device Path of USB endpoint + * 0x0F | PCI Seg | BYTE | PCI Segment number of the USB controller */ if (gen < G9) return 0; pr_handle_name("%s Proliant USB Port Connector Correlation Record", company); @@ -1362,6 +1363,8 @@ static int dmi_decode_hp(const struct dmi_header *h) pr_attr("Parent Hub Port Instance", "N/A"); dmi_hp_238_speed("Port Speed Capability", data[0xD]); pr_attr("Device Path", "%s", dmi_string(h, data[0xE])); + if (h->length < 0x10) break; + pr_attr("PCI Segment", "%b", data[0xF]); break; case 239: -- 2.44.0