Re: Missing descriptor in uvideo.h

2015-07-21 Thread Ludovic Coues
On 20/07/15(Mon) 16:44, Martin Pieuchot wrote: > Is it because by ``wWord'' you mean uDword? Did you consider using an > union with #define? > I don't know what I could do with an union but I followed the advice. I rewrote the diff, dropped the data field and used a couple of macro to access the

Re: Missing descriptor in uvideo.h

2015-07-20 Thread Martin Pieuchot
On 15/07/15(Wed) 17:30, ludovic coues wrote: > 2015-07-15 17:04 GMT+02:00 Martin Pieuchot : > > On 15/07/15(Wed) 16:45, Ludovic Coues wrote: > >> Following is a diff adding missing USB descriptor to uvideo.h according > >> to USB Video spec 1.5 . It also update a couple of table reference from > >>

Re: Missing descriptor in uvideo.h

2015-07-20 Thread ludovic coues
There is a typo with struct usb_video_output_header_desc, corresponding to table 3-15. Last field should be bmaControls. -- Cordialement, Coues Ludovic +336 148 743 42

Re: Missing descriptor in uvideo.h

2015-07-15 Thread ludovic coues
2015-07-15 17:04 GMT+02:00 Martin Pieuchot : > On 15/07/15(Wed) 16:45, Ludovic Coues wrote: >> Following is a diff adding missing USB descriptor to uvideo.h according >> to USB Video spec 1.5 . It also update a couple of table reference from >> spec 1.1 to 1.5 > > Do not hesitate to explain *why* d

Re: Missing descriptor in uvideo.h

2015-07-15 Thread Martin Pieuchot
On 15/07/15(Wed) 16:45, Ludovic Coues wrote: > Following is a diff adding missing USB descriptor to uvideo.h according > to USB Video spec 1.5 . It also update a couple of table reference from > spec 1.1 to 1.5 Do not hesitate to explain *why* do you need that, it might not be clear to everybody o

Missing descriptor in uvideo.h

2015-07-15 Thread Ludovic Coues
Following is a diff adding missing USB descriptor to uvideo.h according to USB Video spec 1.5 . It also update a couple of table reference from spec 1.1 to 1.5 Index: sys/dev/usb/uvideo.h === RCS file: /cvs/src/sys/dev/usb/uvideo.h,v r