done head fixed; we poll edhead->headp until it is null, to get sure
[ppcskel.git] / usb / host / ohci.h
index cea428e72f1c790e5abf21191b0377696a4da814..51be9bf31b1100845be2cd70ad47d486beb41b06 100644 (file)
@@ -120,10 +120,14 @@ struct ohci_hcca {
 } ALIGNED(256);
 
 struct endpoint_descriptor {
+       /* required by HC */
        u32 flags;
        u32 tailp;
        u32 headp;
        u32 nexted;
+
+       /* required by software */
+       u32 tdcount;
 } ALIGNED(16);
 
 #define        OHCI_ENDPOINT_ADDRESS_MASK                              0x0000007f