*/
struct sUSBHub
{
- tUSBDevice *Device;
-
- tUSB_HubPoll CheckPorts;
+ tUSBInterface *Interface;
int nPorts;
tUSBDevice *Devices[];
struct sUSBEndpoint
{
- tUSBInterface *Interface;
tUSBEndpoint *Next; // In the poll list
+ tUSBInterface *Interface;
+ int EndpointNum;
+
int PollingPeriod; // In 1ms intervals
int MaxPacketSize; // In bytes
Uint8 AddressBitmap[128/8];
tUSBDevice RootHubDev;
+ tUSBInterface RootHubIf;
tUSBHub RootHub;
};