From: Uwe Hermann Date: Fri, 21 Jul 2017 16:23:35 +0000 (+0200) Subject: drivers: Consistently use the exact driver name as LOG_PREFIX. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8dacbcf68fd324ea443c32ec1433295a94c8cac6;p=libsigrok.git drivers: Consistently use the exact driver name as LOG_PREFIX. --- diff --git a/src/hardware/arachnid-labs-re-load-pro/protocol.h b/src/hardware/arachnid-labs-re-load-pro/protocol.h index d954fcac..18cdd741 100644 --- a/src/hardware/arachnid-labs-re-load-pro/protocol.h +++ b/src/hardware/arachnid-labs-re-load-pro/protocol.h @@ -25,7 +25,7 @@ #include #include "libsigrok-internal.h" -#define LOG_PREFIX "re-load-pro" +#define LOG_PREFIX "arachnid-labs-re-load-pro" #define RELOADPRO_BUFSIZE 100 diff --git a/src/hardware/chronovu-la/protocol.h b/src/hardware/chronovu-la/protocol.h index 1e2036f7..5a051da3 100644 --- a/src/hardware/chronovu-la/protocol.h +++ b/src/hardware/chronovu-la/protocol.h @@ -28,7 +28,7 @@ #include #include "libsigrok-internal.h" -#define LOG_PREFIX "la8/la16" +#define LOG_PREFIX "chronovu-la" #define SDRAM_SIZE (8 * 1024 * 1024) #define MAX_NUM_SAMPLES SDRAM_SIZE diff --git a/src/hardware/dreamsourcelab-dslogic/protocol.h b/src/hardware/dreamsourcelab-dslogic/protocol.h index f7150664..6d64f31f 100644 --- a/src/hardware/dreamsourcelab-dslogic/protocol.h +++ b/src/hardware/dreamsourcelab-dslogic/protocol.h @@ -29,7 +29,7 @@ #include #include "libsigrok-internal.h" -#define LOG_PREFIX "dslogic" +#define LOG_PREFIX "dreamsourcelab-dslogic" #define USB_INTERFACE 0 #define USB_CONFIGURATION 1 diff --git a/src/hardware/openbench-logic-sniffer/protocol.h b/src/hardware/openbench-logic-sniffer/protocol.h index 723da636..bed0594f 100644 --- a/src/hardware/openbench-logic-sniffer/protocol.h +++ b/src/hardware/openbench-logic-sniffer/protocol.h @@ -26,7 +26,7 @@ #include #include "libsigrok-internal.h" -#define LOG_PREFIX "ols" +#define LOG_PREFIX "openbench-logic-sniffer" #define NUM_CHANNELS 32 #define NUM_TRIGGER_STAGES 4 diff --git a/src/hardware/pipistrello-ols/protocol.h b/src/hardware/pipistrello-ols/protocol.h index 5c8cbb3b..7bbf69dc 100644 --- a/src/hardware/pipistrello-ols/protocol.h +++ b/src/hardware/pipistrello-ols/protocol.h @@ -27,7 +27,7 @@ #include #include "libsigrok-internal.h" -#define LOG_PREFIX "p-ols" +#define LOG_PREFIX "pipistrello-ols" #define USB_VENDOR_ID 0x0403 #define USB_DEVICE_ID 0x6010 diff --git a/src/hardware/zeroplus-logic-cube/protocol.h b/src/hardware/zeroplus-logic-cube/protocol.h index 62aa0255..bf0657ff 100644 --- a/src/hardware/zeroplus-logic-cube/protocol.h +++ b/src/hardware/zeroplus-logic-cube/protocol.h @@ -28,7 +28,7 @@ #include "libsigrok-internal.h" #include "analyzer.h" -#define LOG_PREFIX "zeroplus" +#define LOG_PREFIX "zeroplus-logic-cube" struct dev_context { uint64_t cur_samplerate;