git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Kernel - VFS API Update - ReadDir caller provided buffer
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
Core
/
usb.h
diff --git
a/KernelLand/Modules/USB/Core/usb.h
b/KernelLand/Modules/USB/Core/usb.h
index
5a13363
..
24cd80a
100644
(file)
--- a/
KernelLand/Modules/USB/Core/usb.h
+++ b/
KernelLand/Modules/USB/Core/usb.h
@@
-11,6
+11,7
@@
#include <usb_core.h>
#include <usb_hub.h>
#include <usb_host.h>
#include <usb_core.h>
#include <usb_hub.h>
#include <usb_host.h>
+#include "usb_proto.h"
typedef struct sUSBHost tUSBHost;
typedef struct sUSBDevice tUSBDevice;
typedef struct sUSBHost tUSBHost;
typedef struct sUSBDevice tUSBDevice;
@@
-34,6
+35,7
@@
struct sUSBEndpoint
tUSBInterface *Interface;
int EndpointIdx; // Interface endpoint index
int EndpointNum; // Device endpoint num
tUSBInterface *Interface;
int EndpointIdx; // Interface endpoint index
int EndpointNum; // Device endpoint num
+ void *EndpointHandle;
int PollingPeriod; // In 1ms intervals
int MaxPacketSize; // In bytes
int PollingPeriod; // In 1ms intervals
int MaxPacketSize; // In bytes
@@
-53,6
+55,8
@@
struct sUSBInterface
tUSBDriver *Driver;
void *Data;
tUSBDriver *Driver;
void *Data;
+
+ struct sDescriptor_Interface IfaceDesc;
int nEndpoints;
tUSBEndpoint Endpoints[];
int nEndpoints;
tUSBEndpoint Endpoints[];
@@
-71,6
+75,10
@@
struct sUSBDevice
tUSBHost *Host;
int Address;
tUSBHost *Host;
int Address;
+ void *EndpointHandles[16];
+
+ struct sDescriptor_Device DevDesc;
+
int nInterfaces;
tUSBInterface *Interfaces[];
};
int nInterfaces;
tUSBInterface *Interfaces[];
};
UCC
git Repository :: git.ucc.asn.au