aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/arch/linux/common/pci.h')
-rw-r--r--hardinfo2/arch/linux/common/pci.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/hardinfo2/arch/linux/common/pci.h b/hardinfo2/arch/linux/common/pci.h
index 388ce9aa..210306a2 100644
--- a/hardinfo2/arch/linux/common/pci.h
+++ b/hardinfo2/arch/linux/common/pci.h
@@ -86,7 +86,12 @@ __scan_pci(void)
} else if (!strncmp(buf, "Subsystem", 9)) {
WALK_UNTIL(' ');
buf++;
- strdevice = h_strdup_cprintf("OEM Vendor=%s\n", strdevice, buf);
+ const gchar *oem_vendor_url = vendor_get_url(buf);
+ if (oem_vendor_url)
+ strdevice = h_strdup_cprintf("OEM Vendor=%s (%s)\n",
+ strdevice,
+ vendor_get_name(buf),
+ oem_vendor_url);
} else if (!strncmp(buf, "Capabilities", 12)
&& !strstr(buf, "only to root") &&
!strstr(buf, "access denied")) {