The buffer start and end phys addresses should be 0x0 for an OHCI zero length

packet, this fixes LS/FS devices on the Gateworks 2348 XScale board.

Reviewed by:	HPS
This commit is contained in:
thompsa 2009-03-27 16:56:01 +00:00
parent 642970135f
commit 92faf03fe9

View File

@ -1350,9 +1350,12 @@ restart:
temp->td_flags &= ~htole32(OHCI_TD_TOGGLE_MASK);
if (average == 0) {
/*
* The buffer start and end phys addresses should be
* 0x0 for a zero length packet.
*/
td->td_cbp = 0;
td->td_be = ~0;
td->td_be = 0;
td->len = 0;
} else {