[haiku-bugs] Re: [Haiku] #5940: Header file for the USB video driver

  • From: "Karvjorm" <trac@xxxxxxxxxxxx>
  • Date: Sat, 08 May 2010 16:48:56 -0000

#5940: Header file for the USB video driver
-------------------------------+--------------------------------------------
 Reporter:  Karvjorm           |       Owner:  mmlr          
     Type:  enhancement        |      Status:  new           
 Priority:  normal             |   Milestone:  R1            
Component:  Drivers/USB        |     Version:  R1/Development
 Keywords:  USB video drivers  |   Blockedby:                
 Platform:  All                |    Blocking:                
-------------------------------+--------------------------------------------

Comment(by Karvjorm):

 Thanks, I will change those Dx names to more descriptive.

 I noticed that all those header files (USB_audio.h, USB_hid.h, USB_midi.h)
 use anonymous structs so I have used the same model.

 Also, in USB_midi.h there are "uint8 cin: 4;" "uint8 cn: 4;" bitfield
 definitions? At least this is better than "unsigned" only? This would then
 be an endianness bug? Can you show where BITFIELD macros are used in Haiku
 code?

 I will remove those stray comments (copied from USB_audio.h).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5940#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: