Re: [PATCH spice-gtk v4 14/29] fixup! usb-redir: add implementation of emulated CD device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> Hi,
> 
> On Tue, Aug 27, 2019 at 10:22:31AM +0100, Frediano Ziglio wrote:
> > Add comment on constant
> > ---
> >  src/usb-device-cd.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/src/usb-device-cd.c b/src/usb-device-cd.c
> > index c33bb290..2234289c 100644
> > --- a/src/usb-device-cd.c
> > +++ b/src/usb-device-cd.c
> > @@ -57,6 +57,7 @@ typedef struct SpiceCdLU {
> >  
> >  #define MAX_LUN_PER_DEVICE              1
> >  #define USB2_BCD                        0x200
> > +/* Red Hat USB VID */
> 
> I don't mind adding a comment but perhaps SPICE USB VID instead?
> 

No, SPICE is a project, not a vendor, the 0x2b23 is reserved by USB
standards for Red Hat, not for SPICE.
Another reason why the comment make sense :-)

> >  #define CD_DEV_VID                      0x2b23
> >  #define CD_DEV_PID                      0xCDCD
> >  #define CD_DEV_CLASS                    8

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]