Author: janderwald
Date: Tue Feb 7 16:46:19 2012
New Revision: 55484
URL:
http://svn.reactos.org/svn/reactos?rev=55484&view=rev
Log:
[USBEHCI]
- Fix data toggle misuse
- EHCI host error is now fixed
- Fixed by the Haiku dev Michael Lotz
Modified:
branches/usb-bringup-trunk/drivers/usb/usbehci_new/usb_request.cpp
Modified: branches/usb-bringup-trunk/drivers/usb/usbehci_new/usb_request.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/u…
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbehci_new/usb_request.cpp [iso-8859-1]
(original)
+++ branches/usb-bringup-trunk/drivers/usb/usbehci_new/usb_request.cpp [iso-8859-1] Tue
Feb 7 16:46:19 2012
@@ -722,7 +722,7 @@
//
m_TransferDescriptors[2]->Token.Bits.PIDCode = PID_CODE_OUT_TOKEN;
m_TransferDescriptors[2]->Token.Bits.TotalBytesToTransfer = 0;
- m_TransferDescriptors[2]->Token.Bits.DataToggle = FALSE;
+ m_TransferDescriptors[2]->Token.Bits.DataToggle = TRUE;
//
// special case, setup alternative next descriptor in case of error
@@ -733,9 +733,6 @@
// interrupt on completion
//
m_TransferDescriptors[2]->Token.Bits.InterruptOnComplete = TRUE;
-
- _TransferDescriptors[3]->Token.Bits.Halted = TRUE;
-
}
else
{
@@ -744,6 +741,7 @@
//
m_TransferDescriptors[1]->Token.Bits.PIDCode = PID_CODE_IN_TOKEN;
m_TransferDescriptors[1]->Token.Bits.TotalBytesToTransfer = 0;
+ m_TransferDescriptors[1]->Token.Bits.DataToggle = TRUE;
//
// interrupt on completion