Modules/USB - Cleanup and sorting, added hub code to build
[tpg/acess2.git] / Modules / USB / Core / usb.h
index 9f4384d..a61ce00 100644 (file)
@@ -1,6 +1,9 @@
 /*
- * AcessOS Version 1
- * USB Stack
+ * Acess2 USB Stack
+ * - By John Hodge (thePowersGang)
+ * 
+ * usb.h
+ * - USB Internal definitions
  */
 #ifndef _USB_H_
 #define _USB_H_
@@ -27,16 +30,15 @@ struct sUSBHub
 
 struct sUSBEndpoint
 {
-       tUSBEndpoint    *Next;  // In the poll list
+       tUSBEndpoint    *Next;  // In the segmented list
        tUSBInterface   *Interface;
         int    EndpointNum;
        
         int    PollingPeriod;  // In 1ms intervals
+        int    PollingAtoms;   // *INTERNAL* usb_poll.c
         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
 };
 
 /**

UCC git Repository :: git.ucc.asn.au