mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
The maximum TD size is 31 and not 15.
Found at: EuroBSDcon 2019 MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
af3ccc0740
commit
4e792e431a
1 changed files with 1 additions and 1 deletions
|
|
@ -2003,7 +2003,7 @@ restart:
|
|||
|
||||
/* clear TD SIZE to zero, hence this is the last TRB */
|
||||
/* remove chain bit because this is the last data TRB in the chain */
|
||||
td->td_trb[td->ntrb - 1].dwTrb2 &= ~htole32(XHCI_TRB_2_TDSZ_SET(15));
|
||||
td->td_trb[td->ntrb - 1].dwTrb2 &= ~htole32(XHCI_TRB_2_TDSZ_SET(31));
|
||||
td->td_trb[td->ntrb - 1].dwTrb3 &= ~htole32(XHCI_TRB_3_CHAIN_BIT);
|
||||
/* remove CHAIN-BIT from last LINK TRB */
|
||||
td->td_trb[td->ntrb].dwTrb3 &= ~htole32(XHCI_TRB_3_CHAIN_BIT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue