Modules/EHCI - Random debug
authorJohn Hodge (sonata) <[email protected]>
Sun, 9 Dec 2012 05:01:12 +0000 (13:01 +0800)
committerJohn Hodge (sonata) <[email protected]>
Sun, 9 Dec 2012 05:01:12 +0000 (13:01 +0800)
KernelLand/Modules/USB/EHCI/ehci.c

index 50004c7..2dd8610 100644 (file)
@@ -268,6 +268,8 @@ void *EHCI_InitInterrupt(void *Ptr, int Endpoint, int bOutbound, int Period,
        if( Period > 256 )
                Period = 256;
 
+       LOG("Endpoint=%x, bOutbound=%i, Period=%i, Length=%i", Endpoint, bOutbound, Period, Length);
+
        // Round the period to the closest power of two
        pow2period = 1;
        period_pow = 0;
@@ -433,6 +435,8 @@ void *EHCI_SendControl(void *Ptr, void *Dest, tUSBHostCb Cb, void *CbData,
        if( (tVAddr)Dest <= 256*16 )
                return NULL;
 
+       LOG("Dest=%p, isOutbound=%i, Lengths(Setup:%i,Out:%i,In:%i)", Dest, isOutbound, SetupLength, OutLength, InLength);
+
        // Check size of SETUP and status
        
        // Allocate TDs

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