fix a ehci's bug that it's occurred when the xfers are aborted under

heavy loads or working.  It looks this bug exists since r158869
so needs to revert a part of the previous.

Reviewed by:	imp
Tested by:	sam
MFC after:	3 weeks
This commit is contained in:
Weongyo Jeong 2009-01-15 07:11:14 +00:00
parent 25fdc090f5
commit d081353342

View File

@ -2769,7 +2769,7 @@ ehci_abort_xfer(usbd_xfer_handle xfer, usbd_status status)
/* We will change them to point here */
snext = exfer->sqtdend->nextqtd;
next = htohc32(sc, snext->physaddr);
next = (snext != NULL) ? htohc32(sc, snext->physaddr) : EHCI_NULL(sc);
/*
* Now loop through any qTDs before us and keep track of the pointer