From: Oleksandr Andrushchenko Date: Fri, 8 Jun 2018 06:08:31 +0000 (+0300) Subject: xen/sndif: Change stream's unique-id to string X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~66 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=11535cdbc0ae5925a55b3e735447c30faaa6f63b;p=xen.git xen/sndif: Change stream's unique-id to string Display and input protocols define "unique-id" XenBus field as string which is much more flexible in defining unique identifiers comparing to integer used by sound protocol. For example, this allows to provide UUIDs as unique ID's. Align sound protocol with display and input and redefine "unique-id" field as string. Signed-off-by: Oleksandr Andrushchenko Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Konrad Rzeszutek Wilk Release-acked-by: Juergen Gross --- diff --git a/xen/include/public/io/sndif.h b/xen/include/public/io/sndif.h index 417d3ebc79..402033cf49 100644 --- a/xen/include/public/io/sndif.h +++ b/xen/include/public/io/sndif.h @@ -278,13 +278,11 @@ * defined under the same device. * * unique-id - * Values: + * Values: * - * After stream initialization it is assigned a unique ID (within the front - * driver), so every stream of the frontend can be identified by the - * backend by this ID. This is not equal to stream-idx as the later is - * zero based within the device, but this index is contigous within the - * driver. + * After stream initialization it is assigned a unique ID, so every + * stream of the frontend can be identified by the backend by this ID. + * This can be UUID or such. * *-------------------- Stream Request Transport Parameters -------------------- *