mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
02e06d99e6
commit
b3e9a2aaac
1 changed files with 5 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue