haiku/headers/os/device
Michael Lotz 89dda28052 * Extend the usb_raw interface by alternate interface aware getters for
interfaces, endpoints and generic descriptors.
* Add getter for active interface index and simplify the count operation as
  it isn't misused to also get interface descriptors anymore.
* Refactor out some common code into helper functions.
* Adapt the USBKit to the changed/new interface.
* Change how alternate interfaces are exposed by USBKit by providing normal
  BUSBInterface objects for alternate interfaces that can easily be examined
  and used.
* Make BUSBInterface class aware of its alternate index and use the alternate
  aware usb_raw functionallity to build the endpoint and descriptor lists.
* Add ActiveAlternateIndex() to find out what alternate is currently active.
* Style cleanup of the USBKit classes, use std::nothrow everywhere and check
  all allocations. Simplify some code by removing optimization where the benefit
  is questionable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-10 21:52:32 +00:00
..
A2D.h Adding only those device kit headers that are required by libdevice.so 2002-08-10 22:45:28 +00:00
CAM.h Missing headers needed for disk scanner cd rom session moduless 2002-12-31 07:20:31 +00:00
D2A.h Adding only those device kit headers that are required by libdevice.so 2002-08-10 22:45:28 +00:00
DigitalPort.h Adding only those device kit headers that are required by libdevice.so 2002-08-10 22:45:28 +00:00
graphic_driver.h some header files to be R5 compatible 2002-10-23 13:54:44 +00:00
Joystick.h Code cleanup 2008-08-23 11:16:31 +00:00
scsi_bus_raw_driver.h More headers for the new modules and PnP/device system - note, this 2004-06-06 23:52:08 +00:00
scsi.h Missing headers needed for disk scanner cd rom session moduless 2002-12-31 07:20:31 +00:00
SerialPort.h Adding only those device kit headers that are required by libdevice.so 2002-08-10 22:45:28 +00:00
USBKit.h * Extend the usb_raw interface by alternate interface aware getters for 2008-09-10 21:52:32 +00:00