aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2018-05-11 21:05:07 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-05-27 15:12:47 -0700
commitcbee641dde7a94f456b7350b1902bfb35ae6af85 (patch)
tree5709176519ba5e3dcb7bd853be6910ba6ede9810 /modules
parent2416abc367513f0277b66556b3c499e7bc9cf01e (diff)
devices/pci, devices/gpu: re-enable hardinfo's vendor functions
Now that they are working better. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r--modules/devices/gpu.c2
-rw-r--r--modules/devices/pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/devices/gpu.c b/modules/devices/gpu.c
index 52a53dac..b999e1fc 100644
--- a/modules/devices/gpu.c
+++ b/modules/devices/gpu.c
@@ -57,7 +57,7 @@ static void _gpu_pci_dev(gpud* gpu) {
else
drm_path = g_strdup(_("(Unknown)"));
-#define USE_HARDINFO_VENDOR_THING 0
+#define USE_HARDINFO_VENDOR_THING 1
if (USE_HARDINFO_VENDOR_THING) {
const gchar *v_url = vendor_get_url(vendor);
const gchar *v_name = vendor_get_name(vendor);
diff --git a/modules/devices/pci.c b/modules/devices/pci.c
index c91ec449..e4a64cdd 100644
--- a/modules/devices/pci.c
+++ b/modules/devices/pci.c
@@ -35,7 +35,7 @@ static void _pci_dev(const pcid *p) {
product = UNKIFNULL_AC(p->device_id_str);
sproduct = UNKIFNULL_AC(p->sub_device_id_str);
-#define USE_HARDINFO_VENDOR_THING 0
+#define USE_HARDINFO_VENDOR_THING 1
if (USE_HARDINFO_VENDOR_THING) {
const gchar *v_url = vendor_get_url(vendor);
const gchar *v_name = vendor_get_name(vendor);