From: Bert Vermeulen Date: Sun, 20 Jan 2013 15:36:35 +0000 (+0100) Subject: Deprecate SR_HWOPT_MODEL X-Git-Tag: dsupstream~331 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=fbf394c61766e51627033b4e95c8f9ae034c7dc1;p=libsigrok.git Deprecate SR_HWOPT_MODEL This was only ever used for the defunct genericdmm driver. --- diff --git a/libsigrok.h b/libsigrok.h index 7b400f91..a452c725 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -378,20 +378,14 @@ struct sr_config { struct sr_config_info { int key; + int datatype; char *id; char *name; char *description; - int datatype; }; /** Hardware driver options. */ enum { - /** - * Some drivers cannot detect the exact model they're talking to - * (may be phased out). - */ - SR_HWOPT_MODEL = 10000, - /** * Specification on how to connect to a device. * @@ -402,7 +396,7 @@ enum { * @verbatim . @endverbatim * (hexadecimal, e.g. 1d6b.0001). */ - SR_HWOPT_CONN, + SR_HWOPT_CONN = 10000, /** * Serial communication specification, in the form: