From: John Hodge Date: Sat, 19 May 2012 16:01:41 +0000 (+0800) Subject: Modules/UHCI - Added callback to the BulkIN/BulkOUT routines X-Git-Tag: rel0.15~611^2~89 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=53c786d33db4627ae764299a62b1769eaed137c5;p=tpg%2Facess2.git Modules/UHCI - Added callback to the BulkIN/BulkOUT routines --- diff --git a/KernelLand/Modules/USB/UHCI/uhci.c b/KernelLand/Modules/USB/UHCI/uhci.c index dd072103..6e63079a 100644 --- a/KernelLand/Modules/USB/UHCI/uhci.c +++ b/KernelLand/Modules/USB/UHCI/uhci.c @@ -590,7 +590,7 @@ void *UHCI_BulkOUT(void *Ptr, int Dest, int bToggle, tUSBHostCb Cb, void *CbData } LOG("Final"); - td = UHCI_int_CreateTD(Cont, Dest, PID_OUT, bToggle, NULL, NULL, src, Length); + td = UHCI_int_CreateTD(Cont, Dest, PID_OUT, bToggle, Cb, CbData, src, Length); UHCI_int_AppendTD(Cont, qh, td); LEAVE('p', td); @@ -616,7 +616,7 @@ void *UHCI_BulkIN(void *Ptr, int Dest, int bToggle, tUSBHostCb Cb, void *CbData, } LOG("Final"); - td = UHCI_int_CreateTD(Cont, Dest, PID_IN, bToggle, NULL, NULL, dst, Length); + td = UHCI_int_CreateTD(Cont, Dest, PID_IN, bToggle, Cb, CbData, dst, Length); UHCI_int_AppendTD(Cont, qh, td); LEAVE('p', td);