X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FUSB%2FCore%2Fusb.h;h=8759ee1de3d40e84ad42d65a8e8be3323ed4b449;hb=3e39f3e998538521830c10da09fe14c7a7dc66bd;hp=c293c7db49b95849ea49624ed4d3c5528c979912;hpb=3ab2857efdcb81ce34dabf4d07b39ad6f5ab0b4a;p=tpg%2Facess2.git diff --git a/Modules/USB/Core/usb.h b/Modules/USB/Core/usb.h index c293c7db..8759ee1d 100644 --- a/Modules/USB/Core/usb.h +++ b/Modules/USB/Core/usb.h @@ -19,9 +19,7 @@ typedef struct sUSBEndpoint tUSBEndpoint; */ struct sUSBHub { - tUSBDevice *Device; - - tUSB_HubPoll CheckPorts; + tUSBInterface *Interface; int nPorts; tUSBDevice *Devices[]; @@ -29,14 +27,14 @@ struct sUSBHub struct sUSBEndpoint { - tUSBInterface *Interface; tUSBEndpoint *Next; // In the poll list + tUSBInterface *Interface; + int EndpointNum; + int PollingPeriod; // In 1ms intervals int MaxPacketSize; // In bytes - char Direction; // 1 Polled Input, 0 Output - - Uint8 Type; // Same as sDescriptor_Endpoint.Type + Uint8 Type; // Same as sUSBDriver.Endpoints.Type }; /** @@ -81,6 +79,7 @@ struct sUSBHost Uint8 AddressBitmap[128/8]; tUSBDevice RootHubDev; + tUSBInterface RootHubIf; tUSBHub RootHub; };