+GSList *parse_probestring(struct sr_dev_inst *sdi, const char *probestring)
+{
+ struct sr_probe *probe;
+ GSList *probelist;
+ int ret, n, b, e, i;
+ char **tokens, **range, **names, *eptr, str[8];
+
+ if (!probestring || !probestring[0])
+ /* All probes are enabled by default by the driver. */
+ return NULL;
+
+ ret = SR_OK;
+ range = NULL;
+ names = NULL;
+ probelist = NULL;
+ tokens = g_strsplit(probestring, ",", 0);