diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-02-10 17:02:30 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-02-10 17:02:30 +0000 |
commit | eab4dfc94c17cf685f386c025c6adb7090afcaea (patch) | |
tree | 6f13d34d96fe746d22f64f16d4d630d6e0b71f4e /hardinfo2/arch/linux/common/pci.h | |
parent | 9cd3afcc20418ebc615de64f1bf76fc340b93f6f (diff) |
Applied berlios developer patches #2299, #2300, #2286 (all by user esin).
Diffstat (limited to 'hardinfo2/arch/linux/common/pci.h')
-rw-r--r-- | hardinfo2/arch/linux/common/pci.h | 7 |
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")) { |