From: John Hodge Date: Mon, 18 Nov 2013 06:39:07 +0000 (+0800) Subject: Modules/EHCI - Tweaking, needs a rewrite I think X-Git-Tag: rel0.15~91 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a138e626bb3055b4736a7932cb6172553fc1f407;p=tpg%2Facess2.git Modules/EHCI - Tweaking, needs a rewrite I think --- diff --git a/KernelLand/Modules/USB/EHCI/ehci.c b/KernelLand/Modules/USB/EHCI/ehci.c index e3805200..9d356540 100644 --- a/KernelLand/Modules/USB/EHCI/ehci.c +++ b/KernelLand/Modules/USB/EHCI/ehci.c @@ -227,8 +227,10 @@ int EHCI_InitController(tPAddr BaseAddress, Uint8 InterruptNum) // Dummy QH cont->DeadQH = EHCI_int_AllocateQH(cont, 0, 0); memset(cont->DeadQH, 0, sizeof(tEHCI_QH)); - cont->DeadQH->HLink = MM_GetPhysAddr(cont->DeadQH)|22; + cont->DeadQH->HLink = MM_GetPhysAddr(cont->DeadQH)|2; cont->DeadQH->Endpoint = (1<<15); // H - Head of Reclamation List + cont->DeadQH->CurrentTD = MM_GetPhysAddr(cont->DeadTD); + cont->DeadQH->Overlay.Link = MM_GetPhysAddr(cont->DeadTD); // -- Initialisation procedure (from ehci-r10) -- // - Reset controller