From cbee641dde7a94f456b7350b1902bfb35ae6af85 Mon Sep 17 00:00:00 2001 From: Burt P Date: Fri, 11 May 2018 21:05:07 -0500 Subject: devices/pci, devices/gpu: re-enable hardinfo's vendor functions Now that they are working better. Signed-off-by: Burt P --- modules/devices/gpu.c | 2 +- modules/devices/pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/devices') 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); -- cgit v1.2.3