git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/EHCI - Random debug
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
EHCI
/
ehci.c
diff --git
a/KernelLand/Modules/USB/EHCI/ehci.c
b/KernelLand/Modules/USB/EHCI/ehci.c
index
50004c7
..
2dd8610
100644
(file)
--- a/
KernelLand/Modules/USB/EHCI/ehci.c
+++ b/
KernelLand/Modules/USB/EHCI/ehci.c
@@
-268,6
+268,8
@@
void *EHCI_InitInterrupt(void *Ptr, int Endpoint, int bOutbound, int Period,
if( Period > 256 )
Period = 256;
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;
// 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;
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
// Check size of SETUP and status
// Allocate TDs
UCC
git Repository :: git.ucc.asn.au