Patches by Salvatore Benedetto to fix changes made by me and also the underlaying problem that caused high CPU usage in the isochronous finisher thread. Also includes patches to support isochronous support through USBKit / usb_raw. Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21636 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2007-07-17 20:00:53 +00:00
parent c65e90b36c
commit 7ca97e3548
6 changed files with 200 additions and 80 deletions
+6 -1
View File
@@ -10,6 +10,7 @@
#define _USBKIT_H
#include <SupportDefs.h>
#include <USB3.h>
#include <USB_spec.h>
@@ -257,7 +258,7 @@ mutable char *fInterfaceString;
/* The BUSBEndpoint represent a device endpoint that can be used to send or
receive data. It also alows to query endpoint characteristics like
receive data. It also allows to query endpoint characteristics like
endpoint type or direction. */
class BUSBEndpoint {
public:
@@ -299,6 +300,10 @@ public:
size_t length) const;
ssize_t BulkTransfer(void *data,
size_t length) const;
ssize_t IsochronousTransfer(void *data,
size_t length,
usb_iso_packet_descriptor *packetDescriptors,
uint32 packetCount) const;
private:
friend class BUSBInterface;